summaryrefslogtreecommitdiffstats
path: root/unix/tclLoadDyld.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-10-13 15:54:58 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-10-13 15:54:58 (GMT)
commit6c0f70fb0b15d3086c2c9da5be8b8543ca912f60 (patch)
treed4b7cdffa9df10fb7bb9210ed9ba5d82e85deff7 /unix/tclLoadDyld.c
parent115a3559d776453b8c58512f151abb875de87f74 (diff)
parentf70e1f98b3e5235a48e0fbea21515ed7e277e6cd (diff)
downloadtcl-6c0f70fb0b15d3086c2c9da5be8b8543ca912f60.zip
tcl-6c0f70fb0b15d3086c2c9da5be8b8543ca912f60.tar.gz
tcl-6c0f70fb0b15d3086c2c9da5be8b8543ca912f60.tar.bz2
Merge 8.7
Diffstat (limited to 'unix/tclLoadDyld.c')
-rw-r--r--unix/tclLoadDyld.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/unix/tclLoadDyld.c b/unix/tclLoadDyld.c
index f3fea0c..dac607b 100644
--- a/unix/tclLoadDyld.c
+++ b/unix/tclLoadDyld.c
@@ -292,8 +292,9 @@ TclpDlopen(
*loadHandle = newHandle;
result = TCL_OK;
} else {
- Tcl_Obj *errObj = Tcl_NewObj();
+ Tcl_Obj *errObj;
+ TclNewObj(errObj);
if (errMsg != NULL) {
Tcl_AppendToObj(errObj, errMsg, -1);
}