changeset 20136:61272e6d8f08

Missing (in close function)/misplaced free for track structure itself.
author reimar
date Mon, 09 Oct 2006 18:56:16 +0000
parents 7079d029d27c
children d4e7b776da63
files libmpdemux/demux_mkv.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_mkv.c	Mon Oct 09 18:48:55 2006 +0000
+++ b/libmpdemux/demux_mkv.c	Mon Oct 09 18:56:16 2006 +0000
@@ -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;
 }