subs: fix memory leak with external subtitle tracks
commitb5d2392f80d1c09f6c59c8510693deddca48c6df
authorUoti Urpala <uau@mplayer2.org>
Sat, 15 Dec 2012 15:20:03 +0000 (15 17:20 +0200)
committerUoti Urpala <uau@mplayer2.org>
Sat, 15 Dec 2012 15:30:08 +0000 (15 17:30 +0200)
tree46f850a67c5039f70c87bb21923e8509168d96c2
parent936ecea3494536d0bf2236ad91b34a1333674ce8
subs: fix memory leak with external subtitle tracks

Commit 5639702953 ("subs: always use sub decoder framework for libass
rendering") was missing code to free libass tracks allocated for
external subtitle files in the main post-playback code path (while it
did have correct code in the rarely used remove_subtitle_range()
function). Fix.
mplayer.c