summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--generic/tclObj.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/generic/tclObj.c b/generic/tclObj.c
index 7fe0293..4f7194b 100644
--- a/generic/tclObj.c
+++ b/generic/tclObj.c
@@ -1765,6 +1765,7 @@ Tcl_InitStringRep(
}
} else {
objPtr->bytes = tclEmptyStringRep;
+ return NULL;
}
} else {
/* objPtr->bytes != NULL bytes == NULL - Truncate */