Skip to content
Tcl Source Code View Ticket
Login

View Ticket

obj leak in tclExecute.c

Closed / Fixed1334570fffffffffffffffffffffffffffffffffCreated 21 years agoUpdated 21 years ago
Descriptionplain2005-10-21 23:03:50
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.
melbardisplain2005-10-22 06:03:51
File Added - 153396: tclExecute.c.diff
melbardis Ticket [1334570fff]: 1 change [History diff]2005-10-22 06:04:14
hobbs Ticket [1334570fff]: 1 change [History diff]2005-10-22 06:07:42
msoferplain2005-10-22 08:48:07
Logged In: YES 
user_id=148712

Thank you Eric!
Log in (anonymous is fine) to add a comment.

Attachments: