mirror of https://github.com/odrling/Aegisub
Fixed a memory leak in the style manager, the storage of catalog styles was never being cleared when closed.
Originally committed to SVN as r2964.
This commit is contained in:
parent
acf2f5fa40
commit
ecc4b618b3
|
@ -231,6 +231,7 @@ DialogStyleManager::~DialogStyleManager() {
|
|||
CatalogList->PopEventHandler(true);
|
||||
StorageList->PopEventHandler(true);
|
||||
CurrentList->PopEventHandler(true);
|
||||
Store.Clear();
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue