summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixTime.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2016-06-16 15:19:41 (GMT)
committerdgp <dgp@users.sourceforge.net>2016-06-16 15:19:41 (GMT)
commitdd519c7dac7bb193e0eccc06e9e33a378f7d37b6 (patch)
treef824e5fe9e245730af806b3a5aabf69b2c8e1e08 /unix/tclUnixTime.c
parentf67a341fce27e0e6c8de7ec44c78e7ea0e16c3bd (diff)
parent4d6aaa2e8b970c7babd8047939266ccc21084c7e (diff)
downloadtcl-dd519c7dac7bb193e0eccc06e9e33a378f7d37b6.zip
tcl-dd519c7dac7bb193e0eccc06e9e33a378f7d37b6.tar.gz
tcl-dd519c7dac7bb193e0eccc06e9e33a378f7d37b6.tar.bz2
Merge up to a197e6853e. Still works. Next checkin restarts the segfaults.
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);