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
eadf49d10e
commit
b5d7851413
|
@ -231,6 +231,7 @@ DialogStyleManager::~DialogStyleManager() {
|
|||
CatalogList->PopEventHandler(true);
|
||||
StorageList->PopEventHandler(true);
|
||||
CurrentList->PopEventHandler(true);
|
||||
Store.Clear();
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue