[MPlayer-cvslog] r22028 - trunk/libmpdemux/demux_mkv.c

reimar subversion at mplayerhq.hu
Sat Jan 27 15:52:18 CET 2007


Author: reimar
Date: Sat Jan 27 15:52:18 2007
New Revision: 22028

Modified:
   trunk/libmpdemux/demux_mkv.c

Log:
Forgotten free on error


Modified: trunk/libmpdemux/demux_mkv.c
==============================================================================
--- trunk/libmpdemux/demux_mkv.c	(original)
+++ trunk/libmpdemux/demux_mkv.c	Sat Jan 27 15:52:18 2007
@@ -648,6 +648,8 @@
                 {
                   mp_msg (MSGT_DEMUX, MSGL_WARN,
                           MSGTR_MPDEMUX_MKV_LzoDecompressionFailed);
+                  free(*dest);
+                  *dest = NULL;
                   return modified;
                 }
               mp_msg (MSGT_DEMUX, MSGL_DBG2,



More information about the MPlayer-cvslog mailing list