summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoe Mistachkin <joe@mistachkin.com>2003-05-10 00:09:08 (GMT)
committerJoe Mistachkin <joe@mistachkin.com>2003-05-10 00:09:08 (GMT)
commit30b8cb623523687d9bf4ed2bf1f61e289038df74 (patch)
treea5240edd317c69aea384bb2c7ecc8023d3dd46b5
parentf078556e548f07a9a211e161b1526adc5bee0a15 (diff)
downloadtcl-30b8cb623523687d9bf4ed2bf1f61e289038df74.zip
tcl-30b8cb623523687d9bf4ed2bf1f61e289038df74.tar.gz
tcl-30b8cb623523687d9bf4ed2bf1f61e289038df74.tar.bz2
fix for [Bug 731754]
-rwxr-xr-xgeneric/tclThreadAlloc.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/generic/tclThreadAlloc.c b/generic/tclThreadAlloc.c
index 8f702f4..eac2afc 100755
--- a/generic/tclThreadAlloc.c
+++ b/generic/tclThreadAlloc.c
@@ -11,7 +11,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclThreadAlloc.c,v 1.4 2002/08/26 13:05:56 msofer Exp $ */
+ * RCS: @(#) $Id: tclThreadAlloc.c,v 1.4.2.1 2003/05/10 00:09:08 mistachkin Exp $ */
#if defined(TCL_THREADS) && defined(USE_THREAD_ALLOC)
@@ -276,11 +276,7 @@ TclFreeAllocCache(void *arg)
*nextPtrPtr = cachePtr->nextPtr;
cachePtr->nextPtr = NULL;
Tcl_MutexUnlock(listLockPtr);
-#ifdef WIN32
- TlsFree((DWORD) cachePtr);
-#else
free(cachePtr);
-#endif
}