From 5142c25982c01f602268f647749957bcf63f7380 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 18 Jul 2014 21:36:29 +0000 Subject: some resource leaks fixed git-svn-id: http://svn.miranda-ng.org/main/trunk@9855 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/modules/chat/chat_svc.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/modules/chat') 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(); -- cgit v1.2.3