Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2005-10-22
08:48 • Closed ticket [1334570fff]: obj leak in tclExecute.c plus 7 other changes artifact: 063d85963e user: msofer
06:07 • Ticket [1334570fff]: 1 change artifact: 03269bb4ad user: hobbs
06:04 • Ticket [1334570fff]: 1 change artifact: 26b12cfb38 user: melbardis
06:03 • Ticket [1334570fff]: 4 changes artifact: 32cf439abd user: melbardis
06:03 • Add attachment tclExecute.c.diff to ticket [1334570fffffffff|1334570fff... artifact: 96ab30ba43 user: melbardis
2005-10-21
23:03 • New ticket [1334570fff] obj leak in tclExecute.c. artifact: 9dd0fcb489 user: melbardis

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: