summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/themes.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-08-03 12:37:31 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-08-03 12:37:31 +0000
commit5269daf337ff67b0a804e7c63909a800b335a8db (patch)
tree2319f71980ec8ab8f5518944d45f19eca87f943b /plugins/TabSRMM/src/themes.cpp
parent9e1a2beaf1db681e6f0108d62f30e86a76bb6e9f (diff)
various leak fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@5563 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/themes.cpp')
-rw-r--r--plugins/TabSRMM/src/themes.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/TabSRMM/src/themes.cpp b/plugins/TabSRMM/src/themes.cpp
index ad31a69a00..4812dedb61 100644
--- a/plugins/TabSRMM/src/themes.cpp
+++ b/plugins/TabSRMM/src/themes.cpp
@@ -1167,6 +1167,8 @@ void CSkin::Unload()
::DeleteObject(m_ContainerColorKeyBrush);
if (m_MenuBGBrush)
::DeleteObject(m_MenuBGBrush);
+ if (m_BrushBack)
+ ::DeleteObject(m_BrushBack);
m_ContainerColorKeyBrush = m_MenuBGBrush = 0;