From 4cd0aa5643498a9be9a2fc3ed6e1a88807d4dc8f Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 3 Oct 2023 11:42:41 +0300 Subject: MS_SMILEYADD_SELECTSMILEY - new service for custom smiley selector --- plugins/SmileyAdd/src/smltool.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'plugins/SmileyAdd/src/smltool.cpp') diff --git a/plugins/SmileyAdd/src/smltool.cpp b/plugins/SmileyAdd/src/smltool.cpp index 9aeef4becd..765d154fb1 100644 --- a/plugins/SmileyAdd/src/smltool.cpp +++ b/plugins/SmileyAdd/src/smltool.cpp @@ -713,5 +713,9 @@ void __cdecl SmileyToolThread(SmileyToolWindowParam *stwp) } UnregisterClass(L"SmileyTool", g_plugin.getInst()); } + + if (stwp->bOwnsPack) + delete stwp->pSmileyPack; + delete stwp; } -- cgit v1.2.3