forked from mia/Aegisub
Fixed some of the larger memory leaks in the LibassSubtitlesProvider detected by valgrind
Originally committed to SVN as r2970.
This commit is contained in:
parent
17f0e664f0
commit
10a11ce0cc
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue