diff options
author | dgp <dgp@users.sourceforge.net> | 2012-07-25 11:18:18 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2012-07-25 11:18:18 (GMT) |
commit | 4eef2a8f1f3ceb740cfca5f5b7e991fece4740e7 (patch) | |
tree | b9234fd97cb97862ed8bda8103cb5d71a9c2e289 | |
parent | c4f983261d923f62efa6f19f38ec0df77a179208 (diff) | |
parent | edb3677e32a8f8ba0c8fb6eb32e2b75a1dd353df (diff) | |
download | tcl-4eef2a8f1f3ceb740cfca5f5b7e991fece4740e7.zip tcl-4eef2a8f1f3ceb740cfca5f5b7e991fece4740e7.tar.gz tcl-4eef2a8f1f3ceb740cfca5f5b7e991fece4740e7.tar.bz2 |
merge 8.5
-rw-r--r-- | generic/tclIO.c | 2 |
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); } |