summaryrefslogtreecommitdiff
path: root/plugins/SecureIM/src/crypt_icons.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/SecureIM/src/crypt_icons.cpp')
-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;