summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authormsofer <msofer@noemail.net>2002-07-27 21:17:15 (GMT)
committermsofer <msofer@noemail.net>2002-07-27 21:17:15 (GMT)
commit12b093e7ec0d7b0ecd97f6493c417acf7147b0ac (patch)
treecb965fc75a17eef5cfaf3eb1b7730a141846e262 /generic
parent85743b44e6a35b7be615f2104916d142a64e8ff3 (diff)
downloadtcl-12b093e7ec0d7b0ecd97f6493c417acf7147b0ac.zip
tcl-12b093e7ec0d7b0ecd97f6493c417acf7147b0ac.tar.gz
tcl-12b093e7ec0d7b0ecd97f6493c417acf7147b0ac.tar.bz2
* generic/tclExecute.c: fixed Tcl_Obj leak in code corresponding
to the macro NEXT_INST_V(x, 0, 1) [Bug 587495]. FossilOrigin-Name: a6dca0340049b995d9ff17650415a4e72af06814
Diffstat (limited to 'generic')
-rw-r--r--generic/tclExecute.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclExecute.c b/generic/tclExecute.c
index a74a333..b4e4f3b 100644
--- a/generic/tclExecute.c
+++ b/generic/tclExecute.c
@@ -11,7 +11,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclExecute.c,v 1.84 2002/07/26 18:51:02 msofer Exp $
+ * RCS: @(#) $Id: tclExecute.c,v 1.85 2002/07/27 21:17:15 msofer Exp $
*/
#include "tclInt.h"
@@ -1137,7 +1137,7 @@ TclExecuteByteCode(interp, codePtr)
cleanupV_pushObjResultPtr:
switch (cleanup) {
case 0:
- PUSH_OBJECT(objResultPtr);
+ stackPtr[++stackTop] = (objResultPtr);
goto cleanup0;
default:
cleanup -= 2;