summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-04-02 10:44:47 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-04-02 10:44:47 +0300
commit2bc7bac0a95a5489e78c963a209133758c3ddbd6 (patch)
treeeb63b7d6286080ae0423971021e3050d5b67f1ad /plugins
parentfa2eeaa2db87835f6eafcbf83fefb40efc9ab338 (diff)
minor fix for resource leak
Diffstat (limited to 'plugins')
-rw-r--r--plugins/TabSRMM/src/utils.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/TabSRMM/src/utils.cpp b/plugins/TabSRMM/src/utils.cpp
index 9e7ac2c0a4..3311f2272f 100644
--- a/plugins/TabSRMM/src/utils.cpp
+++ b/plugins/TabSRMM/src/utils.cpp
@@ -1326,6 +1326,10 @@ INT_PTR CALLBACK CWarning::dlgProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lP
}
}
break;
+
+ case WM_DESTROY:
+ Window_FreeIcon_IcoLib(hwnd);
+ break;
}
return FALSE;