summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_xstatus.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-03-27 20:51:02 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-03-27 20:51:02 +0300
commit3ed57b9844b340d1732d85d76f2184498aba5609 (patch)
treed17753b7a107a413ac2594b2cdedf516b6861a20 /protocols/JabberG/src/jabber_xstatus.cpp
parented499945b795b6890e26430d761012c37c432c62 (diff)
crash fix for Jabber
Diffstat (limited to 'protocols/JabberG/src/jabber_xstatus.cpp')
-rw-r--r--protocols/JabberG/src/jabber_xstatus.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/protocols/JabberG/src/jabber_xstatus.cpp b/protocols/JabberG/src/jabber_xstatus.cpp
index 09de8a92b6..06666c36fd 100644
--- a/protocols/JabberG/src/jabber_xstatus.cpp
+++ b/protocols/JabberG/src/jabber_xstatus.cpp
@@ -1524,3 +1524,9 @@ void g_XstatusIconsInit()
g_ActivityIcons.RegisterIcon(g_arrActivities[k].szSecond, szFile, g_arrActivities[k].iconid, szSection, TranslateW(g_arrActivities[k].szTitle));
}
}
+
+void g_XstatusIconsUninit()
+{
+ g_MoodIcons.Clear();
+ g_ActivityIcons.Clear();
+}