diff options
author | George Hazan <ghazan@miranda.im> | 2021-03-06 14:18:18 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2021-03-06 14:18:18 +0300 |
commit | 0c1573c1349f029dfb716072b692084f33c2d645 (patch) | |
tree | 24e0efc2020a576eed1374c581b3c5b6cd6461fc /plugins/Clist_modern/src | |
parent | 083471eb212e87fac834638fbc49787bba0c4678 (diff) |
memory allocation fix
Diffstat (limited to 'plugins/Clist_modern/src')
-rw-r--r-- | plugins/Clist_modern/src/modern_clistsettings.cpp | 2 |
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)"));
}
}
|