summaryrefslogtreecommitdiffstats
path: root/generic/tclEvent.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-05-17 11:17:27 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-05-17 11:17:27 (GMT)
commit292c03d1c289ed9aae8eac6aba53c1857e4bf90d (patch)
tree9576fec9f197250b00a54b86af11f92a9921b9e3 /generic/tclEvent.c
parent53b939e3bc6f9b4995c798d45dada91369aa82ad (diff)
parentaf999a3a2c4770f8654059f5c5b50d766cc88c7f (diff)
downloadtcl-292c03d1c289ed9aae8eac6aba53c1857e4bf90d.zip
tcl-292c03d1c289ed9aae8eac6aba53c1857e4bf90d.tar.gz
tcl-292c03d1c289ed9aae8eac6aba53c1857e4bf90d.tar.bz2
Merge 8.7
Diffstat (limited to 'generic/tclEvent.c')
-rw-r--r--generic/tclEvent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclEvent.c b/generic/tclEvent.c
index 49c61da..cfb5b09 100644
--- a/generic/tclEvent.c
+++ b/generic/tclEvent.c
@@ -219,7 +219,7 @@ HandleBgErrors(
errPtr = assocPtr->firstBgPtr;
- TclListObjGetElements(NULL, copyObj, &prefixObjc, &prefixObjv);
+ TclListObjGetElementsM(NULL, copyObj, &prefixObjc, &prefixObjv);
tempObjv = (Tcl_Obj**)Tcl_Alloc((prefixObjc+2) * sizeof(Tcl_Obj *));
memcpy(tempObjv, prefixObjv, prefixObjc*sizeof(Tcl_Obj *));
tempObjv[prefixObjc] = errPtr->errorMsg;