summaryrefslogtreecommitdiffstats
path: root/generic/tclIndexObj.c
diff options
context:
space:
mode:
authordgp@users.sourceforge.net <dgp>2009-09-30 03:11:24 (GMT)
committerdgp@users.sourceforge.net <dgp>2009-09-30 03:11:24 (GMT)
commitfcc71a0a2ce41dda3cab9082bae95cde3ac73ce8 (patch)
treeea44dc1748f30ffb157b0ed595db7157c4993466 /generic/tclIndexObj.c
parent8dff7bccba540faa87db099dc71ca996ea9e8b69 (diff)
downloadtcl-fcc71a0a2ce41dda3cab9082bae95cde3ac73ce8.zip
tcl-fcc71a0a2ce41dda3cab9082bae95cde3ac73ce8.tar.gz
tcl-fcc71a0a2ce41dda3cab9082bae95cde3ac73ce8.tar.bz2
* generic/tclDictObj.c: Updated freeIntRepProc routines so
* generic/tclExecute.c: that they set the typePtr field to * generic/tclIO.c: NULL so that the Tcl_Obj is not left * generic/tclIndexObj.c: in an inconsistent state. * generic/tclInt.h: [Bug 2857044] * generic/tclListObj.c: * generic/tclNamesp.c: * generic/tclOOCall.c: * generic/tclObj.c: * generic/tclPathObj.c: * generic/tclProc.c: * generic/tclRegexp.c: * generic/tclStringObj.c:
Diffstat (limited to 'generic/tclIndexObj.c')
-rw-r--r--generic/tclIndexObj.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/generic/tclIndexObj.c b/generic/tclIndexObj.c
index bbdae95..7125891 100644
--- a/generic/tclIndexObj.c
+++ b/generic/tclIndexObj.c
@@ -12,7 +12,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclIndexObj.c,v 1.51 2009/04/27 09:41:49 nijtmans Exp $
+ * RCS: @(#) $Id: tclIndexObj.c,v 1.52 2009/09/30 03:11:26 dgp Exp $
*/
#include "tclInt.h"
@@ -499,6 +499,7 @@ FreeIndex(
Tcl_Obj *objPtr)
{
ckfree((char *) objPtr->internalRep.otherValuePtr);
+ objPtr->typePtr = NULL;
}
/*