summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixTime.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2013-01-31 05:17:33 (GMT)
committerdgp <dgp@users.sourceforge.net>2013-01-31 05:17:33 (GMT)
commit15624be5c60333dd6c9ca7a0b651fda1d92e7b7c (patch)
treed6af24523cb86d4a3b20a3e66c16644dadc319b2 /unix/tclUnixTime.c
parent6d8a36d84d2843681302604a082e2f787c3c3674 (diff)
parentf50bf4d17a2021e535f47e5253e24bd3dc1269b5 (diff)
downloadtcl-contrib_patrick_fradin_code_cleanup.zip
tcl-contrib_patrick_fradin_code_cleanup.tar.gz
tcl-contrib_patrick_fradin_code_cleanup.tar.bz2
Diffstat (limited to 'unix/tclUnixTime.c')
-rw-r--r--unix/tclUnixTime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/tclUnixTime.c b/unix/tclUnixTime.c
index c7921fe..926e8f4 100644
--- a/unix/tclUnixTime.c
+++ b/unix/tclUnixTime.c
@@ -503,7 +503,7 @@ SetTZIfNecessary(void)
if (lastTZ == NULL) {
Tcl_CreateExitHandler(CleanupMemory, NULL);
} else {
- Tcl_Free(lastTZ);
+ ckfree(lastTZ);
}
lastTZ = ckalloc(strlen(newTZ) + 1);
strcpy(lastTZ, newTZ);