summaryrefslogtreecommitdiff
path: root/src/modules/chat/chat_svc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/chat/chat_svc.cpp')
-rw-r--r--src/modules/chat/chat_svc.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/modules/chat/chat_svc.cpp b/src/modules/chat/chat_svc.cpp
index 7363c4b36f..0bc6c86f24 100644
--- a/src/modules/chat/chat_svc.cpp
+++ b/src/modules/chat/chat_svc.cpp
@@ -68,6 +68,7 @@ void LoadChatIcons(void)
ci.hIcons[ICON_STATUS4] = LoadIconEx("status4", FALSE);
ci.hIcons[ICON_STATUS5] = LoadIconEx("status5", FALSE);
+ FreeMsgLogBitmaps();
LoadMsgLogBitmaps();
}
@@ -615,7 +616,10 @@ void UnloadChatModule(void)
{
if (!bInited)
return;
-
+
+ mir_free(ci.szActiveWndID);
+ mir_free(ci.szActiveWndModule);
+
FreeMsgLogBitmaps();
OptionsUnInit();