forked from mia/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
1 changed files with 1 additions and 0 deletions
|
@ -231,6 +231,7 @@ DialogStyleManager::~DialogStyleManager() {
|
||||||
CatalogList->PopEventHandler(true);
|
CatalogList->PopEventHandler(true);
|
||||||
StorageList->PopEventHandler(true);
|
StorageList->PopEventHandler(true);
|
||||||
CurrentList->PopEventHandler(true);
|
CurrentList->PopEventHandler(true);
|
||||||
|
Store.Clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue