summaryrefslogtreecommitdiff
path: root/plugins/SecureIM/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-08-03 13:18:14 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-08-03 13:18:14 +0000
commit4b89d658c16f73387acf84a3e1eb899eb4ea0fcb (patch)
tree98e50f89c10296c5d73be1179d3e1fead7297c33 /plugins/SecureIM/src
parent5269daf337ff67b0a804e7c63909a800b335a8db (diff)
more leaks
git-svn-id: http://svn.miranda-ng.org/main/trunk@5564 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SecureIM/src')
-rw-r--r--plugins/SecureIM/src/crypt_icons.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/SecureIM/src/crypt_icons.cpp b/plugins/SecureIM/src/crypt_icons.cpp
index 9131583586..720120059e 100644
--- a/plugins/SecureIM/src/crypt_icons.cpp
+++ b/plugins/SecureIM/src/crypt_icons.cpp
@@ -2,6 +2,10 @@
struct ICON_CACHE
{
+ ICON_CACHE::~ICON_CACHE() {
+ ::DestroyIcon(icon);
+ }
+
HICON icon;
HANDLE hCLIcon;
SHORT mode;