summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2021-03-06 14:18:18 +0300
committerGeorge Hazan <ghazan@miranda.im>2021-03-06 14:18:18 +0300
commit0c1573c1349f029dfb716072b692084f33c2d645 (patch)
tree24e0efc2020a576eed1374c581b3c5b6cd6461fc /plugins
parent083471eb212e87fac834638fbc49787bba0c4678 (diff)
memory allocation fix
Diffstat (limited to 'plugins')
-rw-r--r--plugins/Clist_modern/src/modern_clistsettings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Clist_modern/src/modern_clistsettings.cpp b/plugins/Clist_modern/src/modern_clistsettings.cpp
index 130a01bfc9..265647f2a1 100644
--- a/plugins/Clist_modern/src/modern_clistsettings.cpp
+++ b/plugins/Clist_modern/src/modern_clistsettings.cpp
@@ -56,7 +56,7 @@ void cliCheckCacheItem(ClcCacheEntry *pdnce)
pdnce->tszName = Clist_GetContactDisplayName(pdnce->hContact, GCDNF_NOCACHE | GCDNF_NOUNKNOWN);
if (!pdnce->tszName) {
pdnce->m_bIsUnknown = true;
- pdnce->tszName = TranslateT("(Unknown contact)");
+ pdnce->tszName = mir_wstrdup(TranslateT("(Unknown contact)"));
}
}