Fixed some of the larger memory leaks in the LibassSubtitlesProvider detected by valgrind

Originally committed to SVN as r2970.
This commit is contained in:
harukalover 2009-05-22 04:09:09 +00:00
parent 17f0e664f0
commit 10a11ce0cc

View file

@ -80,6 +80,9 @@ LibassSubtitlesProvider::LibassSubtitlesProvider() {
////////////// //////////////
// Destructor // Destructor
LibassSubtitlesProvider::~LibassSubtitlesProvider() { LibassSubtitlesProvider::~LibassSubtitlesProvider() {
ass_free_track(ass_track);
ass_renderer_done(ass_renderer);
ass_library_done(ass_library);
} }