mirror of
https://github.com/mpv-player/mpv
synced 2025-02-08 07:57:19 +00:00
Fix memory leak cid 176
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17806 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
b094203941
commit
bb682fcc42
@ -237,6 +237,7 @@ static demuxer_t* demux_open_film(demuxer_t* demuxer)
|
||||
if (chunk_type != CHUNK_FILM)
|
||||
{
|
||||
mp_msg(MSGT_DEMUX, MSGL_ERR, "Not a FILM file\n");
|
||||
free(film_data);
|
||||
return(NULL);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user