diff options
Diffstat (limited to 'generic/tclClock.c')
| -rw-r--r-- | generic/tclClock.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/generic/tclClock.c b/generic/tclClock.c index 83da0ef..b870f79 100644 --- a/generic/tclClock.c +++ b/generic/tclClock.c @@ -2083,7 +2083,9 @@ TzsetIfNecessary(void) wcscpy(tzWas, tzIsNow); } else if (tzIsNow == NULL && tzWas != NULL) { tzset(); - if (tzWas != (WCHAR *)INT2PTR(-1)) Tcl_Free(tzWas); + if (tzWas != (WCHAR *)INT2PTR(-1)) { + Tcl_Free(tzWas); + } tzWas = NULL; } Tcl_MutexUnlock(&clockMutex); |
