mirror of
https://github.com/mpv-player/mpv
synced 2025-02-28 19:30:44 +00:00
Missing free on error in conv24to32
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23217 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
20fbe131b2
commit
bd83e685ec
@ -76,6 +76,7 @@ static int conv24to32( txSample * bf )
|
||||
bf->BPP=32;
|
||||
if ( ( bf->Image=malloc( bf->ImageSize ) ) == NULL )
|
||||
{
|
||||
free( tmpImage );
|
||||
mp_dbg( MSGT_GPLAYER,MSGL_DBG2,"[bitmap] not enough memory for image\n" );
|
||||
return 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user