mirror of https://github.com/mpv-player/mpv
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
This commit is contained in:
parent
ccff4a6164
commit
5240b8bf98
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue