summaryrefslogtreecommitdiffstats
path: root/generic/tclThreadAlloc.c
diff options
context:
space:
mode:
authormistachkin <mistachkin@noemail.net>2003-05-10 00:09:08 (GMT)
committermistachkin <mistachkin@noemail.net>2003-05-10 00:09:08 (GMT)
commit340b0c2c5b7903584e1ed5bfdfb076f2f26c8608 (patch)
treea5240edd317c69aea384bb2c7ecc8023d3dd46b5 /generic/tclThreadAlloc.c
parent2f41ff42eedaed6d6dc5bd068bf5f3900d334ca0 (diff)
downloadtcl-340b0c2c5b7903584e1ed5bfdfb076f2f26c8608.zip
tcl-340b0c2c5b7903584e1ed5bfdfb076f2f26c8608.tar.gz
tcl-340b0c2c5b7903584e1ed5bfdfb076f2f26c8608.tar.bz2
fix for [Bug 731754]
FossilOrigin-Name: dd0b47aef7dc6586bf3c66b15cc9fd7420fe97fd
Diffstat (limited to 'generic/tclThreadAlloc.c')
-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
}