summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-05-19 09:27:43 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-05-19 09:27:43 +0000
commit5289c28256d3474da6abefac968fb1a6d1133bcd (patch)
tree8b55e3dac7e64d52ef66a25adbce9220f45aa4e1 /src
parent390140ffd07469ce5e3cac6dcbdf117cae2c08f6 (diff)
- unused functions removed;
- cliFreeCacheItem & cliCheckCacheItem functions are teached to call basic core functions git-svn-id: http://svn.miranda-ng.org/main/trunk@16852 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src')
-rw-r--r--src/mir_app/src/clistsettings.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mir_app/src/clistsettings.cpp b/src/mir_app/src/clistsettings.cpp
index 9f2b8f6593..54d36ca38f 100644
--- a/src/mir_app/src/clistsettings.cpp
+++ b/src/mir_app/src/clistsettings.cpp
@@ -63,8 +63,8 @@ void fnCheckCacheItem(ClcCacheEntry *p)
void fnFreeCacheItem(ClcCacheEntry *p)
{
- if (p->tszName) { mir_free(p->tszName); p->tszName = NULL; }
- if (p->tszGroup) { mir_free(p->tszGroup); p->tszGroup = NULL; }
+ replaceStrT(p->tszName, NULL);
+ replaceStrT(p->tszGroup, NULL);
p->bIsHidden = -1;
}