summaryrefslogtreecommitdiffstats
path: root/generic/tclObj.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tclObj.c')
-rw-r--r--generic/tclObj.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/generic/tclObj.c b/generic/tclObj.c
index a346987..d549fdc 100644
--- a/generic/tclObj.c
+++ b/generic/tclObj.c
@@ -2203,6 +2203,7 @@ Tcl_DbNewDoubleObj(
TclDbNewObj(objPtr, file, line);
objPtr->bytes = NULL;
+ objPtr->internalRep.twoPtrValue.ptr2 = NULL; /* valgrind */
objPtr->internalRep.doubleValue = dblValue;
objPtr->typePtr = &tclDoubleType;
return objPtr;