Groovie: Fix a memory leak in still frames

svn-id: r42210
This commit is contained in:
Jordi Vilalta Prat 2009-07-07 09:38:08 +00:00
parent 2c5d11b67b
commit 566c3bb781

View File

@ -505,6 +505,7 @@ bool ROQPlayer::processBlockStill(ROQBlockHeader &blockHeader) {
} }
memcpy(_prevBuf->getBasePtr(0, 0), _currBuf->getBasePtr(0, 0), _prevBuf->w * _prevBuf->h * 3); memcpy(_prevBuf->getBasePtr(0, 0), _currBuf->getBasePtr(0, 0), _prevBuf->w * _prevBuf->h * 3);
delete jpg;
return true; return true;
} }