diff options
author | Steve Bennett <steveb@workware.net.au> | 2013-12-14 20:21:45 +1000 |
---|---|---|
committer | Steve Bennett <steveb@workware.net.au> | 2013-12-21 01:56:58 +1000 |
commit | e955ef676552ab07cd8504e5ab09b1820fe51293 (patch) | |
tree | 182ea269c60f9cd356bf3f0da449f3bf1bb8685b /jim.c | |
parent | e34b39c934f77942d589f8032859d9524550278e (diff) | |
download | jimtcl-e955ef676552ab07cd8504e5ab09b1820fe51293.zip jimtcl-e955ef676552ab07cd8504e5ab09b1820fe51293.tar.gz jimtcl-e955ef676552ab07cd8504e5ab09b1820fe51293.tar.bz2 |
Use Jim_StrDup() instead of strdup() internally
Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'jim.c')
-rw-r--r-- | jim.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1077,7 +1077,7 @@ static unsigned int JimStringCopyHTHashFunction(const void *key) static void *JimStringCopyHTDup(void *privdata, const void *key) { - return strdup(key); + return Jim_StrDup(key); } static int JimStringCopyHTKeyCompare(void *privdata, const void *key1, const void *key2) |