diff options
Diffstat (limited to 'generic/tclNamesp.c')
-rw-r--r-- | generic/tclNamesp.c | 4 |
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; } /* |