diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2004-06-18 15:12:37 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2004-06-18 15:12:37 (GMT) |
commit | 9a1a3e2f07dfc0b90751b9ccce5015cb42119ae6 (patch) | |
tree | fb825bf571652f6b3d06ba63b712e696bef425d0 /generic/tclObj.c | |
parent | de76c226887e818f393568bf07dd6fdebd8347de (diff) | |
download | tcl-9a1a3e2f07dfc0b90751b9ccce5015cb42119ae6.zip tcl-9a1a3e2f07dfc0b90751b9ccce5015cb42119ae6.tar.gz tcl-9a1a3e2f07dfc0b90751b9ccce5015cb42119ae6.tar.bz2 |
Fixed [Bug 886231] properly this time rather than with a broken version that
breaks the core completely. :^}
Diffstat (limited to 'generic/tclObj.c')
-rw-r--r-- | generic/tclObj.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclObj.c b/generic/tclObj.c index ba617cf..ec3eeb5 100644 --- a/generic/tclObj.c +++ b/generic/tclObj.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: tclObj.c,v 1.61 2004/06/18 13:42:41 dkf Exp $ + * RCS: @(#) $Id: tclObj.c,v 1.62 2004/06/18 15:12:39 dkf Exp $ */ #include "tclInt.h" @@ -793,7 +793,7 @@ TclFreeObj(objPtr) TclPopObjToDelete(context,objToFree); - if ((objToFre->typePtr != NULL) + if ((objToFree->typePtr != NULL) && (objToFree->typePtr->freeIntRepProc != NULL)) { objToFree->typePtr->freeIntRepProc(objToFree); } |