aboutsummaryrefslogtreecommitdiffhomepage
path: root/libmpdemux
diff options
context:
space:
mode:
authorGravatar reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-10-09 18:56:16 +0000
committerGravatar reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-10-09 18:56:16 +0000
commit5240b8bf9809371c2402b2182c08eed2c7346ed9 (patch)
tree9296a2f19d837468c0fae7c5d7c14c7d19a252dd /libmpdemux
parentccff4a6164a580d1acbfde13bacffa17975ce199 (diff)
Missing (in close function)/misplaced free for track structure itself.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20142 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux')
-rw-r--r--libmpdemux/demux_mkv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpdemux/demux_mkv.c b/libmpdemux/demux_mkv.c
index e5a9190b51..ee2267ca83 100644
--- a/libmpdemux/demux_mkv.c
+++ b/libmpdemux/demux_mkv.c
@@ -1038,6 +1038,7 @@ demux_mkv_free_trackentry(mkv_track_t *track) {
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 @@ demux_mkv_read_trackentry (demuxer_t *demuxer)
err_out:
demux_mkv_free_trackentry(track);
- free(track);
return 0;
}