id,summary,reporter,owner,description,type,status,priority,component,version,resolution,keywords,cc,game 1885,FTDEMO: Memoryleak in SMUSH player,anotherguest,fingolfin,"{{{#!Markdown In a couple places in the smush\_player.cpp a special buffer is created when the videoheight & width is 242x384. But no check is made to see if the \_specialBuffer already has been allocated. I think it should look like this if \(\(height == 242\) && \(width == 384\)\) \{ if\(\_specialBuffer == NULL\) \_specialBuffer = \(byte \*\)malloc\(242 \* 384\); \_dst = \_specialBuffer; \} else if \(\(height > \_vm->\_screenHeight\) || \(width > \_vm-> ... instead of if \(\(height == 242\) && \(width == 384\)\) \{ \_dst = \_specialBuffer = \(byte \*\)malloc\(242 \* 384\); \} else ... }}} {{{#!div style=""font-size: 75%"" Ticket imported from: !#1098872. Ticket imported from: bugs/1885. }}}",defect,closed,normal,Engine: SCUMM,,fixed,,,Full Throttle