From ecc4b618b391be777b6defca3c7597f8cd5170a7 Mon Sep 17 00:00:00 2001 From: harukalover Date: Thu, 21 May 2009 22:24:52 +0000 Subject: [PATCH] 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. --- aegisub/src/dialog_style_manager.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/aegisub/src/dialog_style_manager.cpp b/aegisub/src/dialog_style_manager.cpp index c74c4676b..0495d7a6a 100644 --- a/aegisub/src/dialog_style_manager.cpp +++ b/aegisub/src/dialog_style_manager.cpp @@ -231,6 +231,7 @@ DialogStyleManager::~DialogStyleManager() { CatalogList->PopEventHandler(true); StorageList->PopEventHandler(true); CurrentList->PopEventHandler(true); + Store.Clear(); }