diff options
Diffstat (limited to 'generic/tclThreadStorage.c')
| -rw-r--r-- | generic/tclThreadStorage.c | 6 | 
1 files changed, 2 insertions, 4 deletions
| diff --git a/generic/tclThreadStorage.c b/generic/tclThreadStorage.c index 1a0a89d..f24e334 100644 --- a/generic/tclThreadStorage.c +++ b/generic/tclThreadStorage.c @@ -9,8 +9,6 @@   *   * See the file "license.terms" for information on usage and redistribution of   * this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * RCS: @(#) $Id: tclThreadStorage.c,v 1.20 2009/03/16 00:43:09 mistachkin Exp $   */  #include "tclInt.h" @@ -43,7 +41,7 @@ static struct TSDMaster {  				 * increasing value. */      Tcl_Mutex mutex;		/* Protection for the rest of this structure,  				 * which holds per-process data. */ -} tsdMaster = { NULL, 0 }; +} tsdMaster = { NULL, 0, NULL };  /*   * The type of the data held per thread in a system TSD. @@ -119,7 +117,7 @@ TSDTableDelete(  	     * and must now be deallocated or they will leak.  	     */ -	    ckfree((char *) tsdTablePtr->tablePtr[i]); +	    ckfree(tsdTablePtr->tablePtr[i]);  	}      } | 
