aboutsummaryrefslogtreecommitdiffhomepage
path: root/libmpdemux
diff options
context:
space:
mode:
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;
}