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:
harukalover 2009-05-21 22:24:52 +00:00
parent acf2f5fa40
commit ecc4b618b3

View file

@ -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();
} }