diff options
| author | nijtmans@users.sourceforge.net <jan.nijtmans> | 2013-01-25 13:07:59 (GMT) |
|---|---|---|
| committer | nijtmans@users.sourceforge.net <jan.nijtmans> | 2013-01-25 13:07:59 (GMT) |
| commit | af600db0c097db4595973836e77b2bb6cd466a50 (patch) | |
| tree | 679f1017e76d0436284b6fd6ad417469b14b3394 /unix/tclUnixTime.c | |
| parent | ad7c64c73f71f6a9f42ecb415d74fc8308bb57d6 (diff) | |
| download | tcl-af600db0c097db4595973836e77b2bb6cd466a50.zip tcl-af600db0c097db4595973836e77b2bb6cd466a50.tar.gz tcl-af600db0c097db4595973836e77b2bb6cd466a50.tar.bz2 | |
Another memory leak, and one Tcl_Free -> ckfree
Diffstat (limited to 'unix/tclUnixTime.c')
| -rw-r--r-- | unix/tclUnixTime.c | 2 |
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); |
