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
8a417de164
commit
9550bc6366
|
@ -80,6 +80,9 @@ LibassSubtitlesProvider::LibassSubtitlesProvider() {
|
|||
//////////////
|
||||
// Destructor
|
||||
LibassSubtitlesProvider::~LibassSubtitlesProvider() {
|
||||
ass_free_track(ass_track);
|
||||
ass_renderer_done(ass_renderer);
|
||||
ass_library_done(ass_library);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue