[MPlayer-cvslog] r37683 - trunk/libmpdemux/demux_gif.c

reimar subversion at mplayerhq.hu
Thu Feb 11 22:58:18 CET 2016


Author: reimar
Date: Thu Feb 11 22:58:18 2016
New Revision: 37683

Log:
demux_gif: Fix memleak on error.

Modified:
   trunk/libmpdemux/demux_gif.c

Modified: trunk/libmpdemux/demux_gif.c
==============================================================================
--- trunk/libmpdemux/demux_gif.c	Thu Feb 11 22:56:14 2016	(r37682)
+++ trunk/libmpdemux/demux_gif.c	Thu Feb 11 22:58:18 2016	(r37683)
@@ -210,6 +210,7 @@ static int demux_gif_fill_buffer(demuxer
   if (effective_map == NULL) {
     mp_msg(MSGT_DEMUX, MSGL_ERR, "[demux_gif] No local nor global colormap.\n");
     free(buf);
+    free_demux_packet(dp);
     return 0;
   }
 


More information about the MPlayer-cvslog mailing list