summaryrefslogtreecommitdiff
path: root/plugins/SmileyAdd/src/smltool.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-10-03 11:42:41 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-10-03 11:42:45 +0300
commit4cd0aa5643498a9be9a2fc3ed6e1a88807d4dc8f (patch)
treeff4f239fbab80be1048bfbeaed5ad16562c3dff0 /plugins/SmileyAdd/src/smltool.cpp
parent673577296fc06f446946d5f651bb33547399e25c (diff)
MS_SMILEYADD_SELECTSMILEY - new service for custom smiley selector
Diffstat (limited to 'plugins/SmileyAdd/src/smltool.cpp')
-rw-r--r--plugins/SmileyAdd/src/smltool.cpp4
1 files changed, 4 insertions, 0 deletions
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;
}