summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2012-07-25 11:18:18 (GMT)
committerdgp <dgp@users.sourceforge.net>2012-07-25 11:18:18 (GMT)
commit4eef2a8f1f3ceb740cfca5f5b7e991fece4740e7 (patch)
treeb9234fd97cb97862ed8bda8103cb5d71a9c2e289 /generic
parentc4f983261d923f62efa6f19f38ec0df77a179208 (diff)
parentedb3677e32a8f8ba0c8fb6eb32e2b75a1dd353df (diff)
downloadtcl-4eef2a8f1f3ceb740cfca5f5b7e991fece4740e7.zip
tcl-4eef2a8f1f3ceb740cfca5f5b7e991fece4740e7.tar.gz
tcl-4eef2a8f1f3ceb740cfca5f5b7e991fece4740e7.tar.bz2
merge 8.5
Diffstat (limited to 'generic')
-rw-r--r--generic/tclIO.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/generic/tclIO.c b/generic/tclIO.c
index b9fa18d..eeca41b 100644
--- a/generic/tclIO.c
+++ b/generic/tclIO.c
@@ -8347,6 +8347,7 @@ TclChannelEventScriptInvoker(
*/
Tcl_Preserve(interp);
+ Tcl_Preserve(chanPtr);
result = Tcl_EvalObjEx(interp, esPtr->scriptPtr, TCL_EVAL_GLOBAL);
/*
@@ -8363,6 +8364,7 @@ TclChannelEventScriptInvoker(
}
TclBackgroundException(interp, result);
}
+ Tcl_Release(chanPtr);
Tcl_Release(interp);
}