diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2016-10-11 21:52:57 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2016-10-11 21:52:57 (GMT) |
commit | 1ad6b91e705f65b9d156c10aa41c4a88e6686877 (patch) | |
tree | 4a830dcdd04884ee7552dabfd033c6428ec70f0f /unix/tclUnixInit.c | |
parent | 012c80fc04ac184c1e045362d3cf6c3a6366d05e (diff) | |
parent | de46d7767eadf5c2cdf992a3abd1413e15662674 (diff) | |
download | tcl-1ad6b91e705f65b9d156c10aa41c4a88e6686877.zip tcl-1ad6b91e705f65b9d156c10aa41c4a88e6686877.tar.gz tcl-1ad6b91e705f65b9d156c10aa41c4a88e6686877.tar.bz2 |
Fix [3cc1d91345]: duplicate calls to TclpFreeAllocCache() on thread exists
Diffstat (limited to 'unix/tclUnixInit.c')
-rw-r--r-- | unix/tclUnixInit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/tclUnixInit.c b/unix/tclUnixInit.c index 91fb986..31177a3 100644 --- a/unix/tclUnixInit.c +++ b/unix/tclUnixInit.c @@ -761,7 +761,7 @@ TclpSetVariables( CFLocaleRef localeRef; - if (CFLocaleCopyCurrent != NULL && CFLocaleGetIdentifier != NULL && + if (&CFLocaleCopyCurrent != NULL && &CFLocaleGetIdentifier != NULL && (localeRef = CFLocaleCopyCurrent())) { CFStringRef locale = CFLocaleGetIdentifier(localeRef); |