Tcl Source Code

View Ticket
Login
Ticket UUID: 1334570
Title: obj leak in tclExecute.c
Type: Bug Version: obsolete: 8.5a4
Submitter: melbardis Created on: 2005-10-21 23:03:50
Subsystem: 41. Memory Allocation Assigned To: msofer
Priority: 9 Immediate Severity:
Status: Closed Last Modified: 2005-10-22 08:48:07
Resolution: Fixed Closed By: msofer
    Closed on: 2005-10-22 01:48:07
Description:
memory leak (objects) in tclExecute

opcodes:
    case INST_INCR_SCALAR1:
    case INST_INCR_ARRAY1:
    case INST_INCR_ARRAY_STK:
    case INST_INCR_SCALAR_STK:
    case INST_INCR_STK:

would cause tthe top of stack (if present)to increment 
ref count and never get freed, moved the incr ref count 
statement from common code to where the new object 
was being allocated.
User Comments: msofer added on 2005-10-22 08:48:07:
Logged In: YES 
user_id=148712

Thank you Eric!

melbardis added on 2005-10-22 06:03:51:

File Added - 153396: tclExecute.c.diff

Attachments: