diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2016-10-11 21:35:27 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2016-10-11 21:35:27 (GMT) |
commit | d81daf76bdb5794b66511feb620c36e932e9ac99 (patch) | |
tree | 854ff813d51954ea09e78528d3bdc7506874c31d /unix/tclUnixInit.c | |
parent | f3e9f9caa3f8a7c72efbf590c1f0cc0a836d6338 (diff) | |
download | tcl-d81daf76bdb5794b66511feb620c36e932e9ac99.zip tcl-d81daf76bdb5794b66511feb620c36e932e9ac99.tar.gz tcl-d81daf76bdb5794b66511feb620c36e932e9ac99.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 a8cd00d..a873f6e 100644 --- a/unix/tclUnixInit.c +++ b/unix/tclUnixInit.c @@ -833,7 +833,7 @@ TclpSetVariables( CFLocaleRef localeRef; - if (CFLocaleCopyCurrent != NULL && CFLocaleGetIdentifier != NULL && + if (&CFLocaleCopyCurrent != NULL && &CFLocaleGetIdentifier != NULL && (localeRef = CFLocaleCopyCurrent())) { CFStringRef locale = CFLocaleGetIdentifier(localeRef); |