summaryrefslogtreecommitdiffstats
path: root/generic/tclIORTrans.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-01-17 16:44:44 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-01-17 16:44:44 (GMT)
commit01a48e2369782044a30d922c5f8ed52262ef4fcd (patch)
treecded44f524910001e25a40e44637c146b16a5302 /generic/tclIORTrans.c
parente5a2ebd71b2aa2b31ca5128eb47ae0a7fdd20bd5 (diff)
downloadtcl-01a48e2369782044a30d922c5f8ed52262ef4fcd.zip
tcl-01a48e2369782044a30d922c5f8ed52262ef4fcd.tar.gz
tcl-01a48e2369782044a30d922c5f8ed52262ef4fcd.tar.bz2
Tcl_NewObj() -> TclNewObj()
Diffstat (limited to 'generic/tclIORTrans.c')
-rw-r--r--generic/tclIORTrans.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclIORTrans.c b/generic/tclIORTrans.c
index eecd412..97540a6 100644
--- a/generic/tclIORTrans.c
+++ b/generic/tclIORTrans.c
@@ -1224,7 +1224,7 @@ ReflectInput(
}
if (Tcl_IsShared(bufObj)) {
Tcl_DecrRefCount(bufObj);
- bufObj = Tcl_NewObj();
+ TclNewObj(bufObj);
Tcl_IncrRefCount(bufObj);
}
Tcl_SetByteArrayLength(bufObj, 0);