summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/buttonsbar.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-07-18 21:36:29 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-07-18 21:36:29 +0000
commit5142c25982c01f602268f647749957bcf63f7380 (patch)
tree77b8088067baa66a823982deb1fda5ac3158b099 /plugins/TabSRMM/src/buttonsbar.cpp
parent62b1f33833883602232b40799f4ca42444e5f928 (diff)
some resource leaks fixed
git-svn-id: http://svn.miranda-ng.org/main/trunk@9855 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/buttonsbar.cpp')
-rw-r--r--plugins/TabSRMM/src/buttonsbar.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/TabSRMM/src/buttonsbar.cpp b/plugins/TabSRMM/src/buttonsbar.cpp
index 3f3fc59133..de867aad1e 100644
--- a/plugins/TabSRMM/src/buttonsbar.cpp
+++ b/plugins/TabSRMM/src/buttonsbar.cpp
@@ -45,6 +45,9 @@ void CB_InitCustomButtons()
void CB_DeInitCustomButtons()
{
+ wipeList(LButtonsList);
+ wipeList(RButtonsList);
+
DestroyHookableEvent(hHookToolBarLoadedEvt);
DestroyHookableEvent(hHookButtonPressedEvt);
DestroyServiceFunction(hButtonsBarAddButton);