summaryrefslogtreecommitdiffstats
path: root/generic/tclNamesp.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2009-09-30 03:11:24 (GMT)
committerdgp <dgp@users.sourceforge.net>2009-09-30 03:11:24 (GMT)
commit31597e659d7ed47cae7a3637544fc8810a12109e (patch)
treeea44dc1748f30ffb157b0ed595db7157c4993466 /generic/tclNamesp.c
parent1d9466df83ad7999d5e606e39121eb3dd68b737f (diff)
downloadtcl-31597e659d7ed47cae7a3637544fc8810a12109e.zip
tcl-31597e659d7ed47cae7a3637544fc8810a12109e.tar.gz
tcl-31597e659d7ed47cae7a3637544fc8810a12109e.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/tclNamesp.c')
-rw-r--r--generic/tclNamesp.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/generic/tclNamesp.c b/generic/tclNamesp.c
index 74d5ebb..94ade8f 100644
--- a/generic/tclNamesp.c
+++ b/generic/tclNamesp.c
@@ -23,7 +23,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclNamesp.c,v 1.192 2009/07/15 13:17:18 dkf Exp $
+ * RCS: @(#) $Id: tclNamesp.c,v 1.193 2009/09/30 03:11:26 dgp Exp $
*/
#include "tclInt.h"
@@ -4770,6 +4770,7 @@ FreeNsNameInternalRep(
}
ckfree((char *) resNamePtr);
}
+ objPtr->typePtr = NULL;
}
/*
@@ -7469,6 +7470,7 @@ FreeEnsembleCmdRep(
NamespaceFree(ensembleCmd->nsPtr);
}
ckfree((char *) ensembleCmd);
+ objPtr->typePtr = NULL;
}
/*