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

reimar subversion at mplayerhq.hu
Mon Oct 9 20:56:16 CEST 2006


Author: reimar
Date: Mon Oct  9 20:56:16 2006
New Revision: 20142

Modified:
   trunk/libmpdemux/demux_mkv.c

Log:
Missing (in close function)/misplaced free for track structure itself.


Modified: trunk/libmpdemux/demux_mkv.c
==============================================================================
--- trunk/libmpdemux/demux_mkv.c	(original)
+++ trunk/libmpdemux/demux_mkv.c	Mon Oct  9 20:56:16 2006
@@ -1038,6 +1038,7 @@
     ass_free_track (track->sh_sub.ass_track);
 #endif
   demux_mkv_free_encodings(track->encodings, track->num_encodings);
+  free(track);
 }
 
 static int
@@ -1217,7 +1218,6 @@
 
 err_out:
   demux_mkv_free_trackentry(track);
-  free(track);
   return 0;
 }
 



More information about the MPlayer-cvslog mailing list