[MPlayer-cvslog] r35440 - trunk/libmpdemux/demux_gif.c
upsuper
subversion at mplayerhq.hu
Thu Nov 22 11:28:30 CET 2012
Author: upsuper
Date: Thu Nov 22 11:28:30 2012
New Revision: 35440
Log:
Fix memory leaks when error occurs.
Modified:
trunk/libmpdemux/demux_gif.c
Modified: trunk/libmpdemux/demux_gif.c
==============================================================================
--- trunk/libmpdemux/demux_gif.c Thu Nov 22 09:40:47 2012 (r35439)
+++ trunk/libmpdemux/demux_gif.c Thu Nov 22 11:28:30 2012 (r35440)
@@ -169,6 +169,7 @@ static int demux_gif_fill_buffer(demuxer
if (DGifGetLine(gif, buf, len) == GIF_ERROR) {
PrintGifError();
free(buf);
+ free_demux_packet(dp);
return 0; // oops
}
More information about the MPlayer-cvslog
mailing list