mirror of https://github.com/odrling/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
|
@ -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 New Issue