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
1 changed files with 3 additions and 0 deletions

View File

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