Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2009-12-11
02:13 • Closed ticket [2895323fff]: TclContinuationsEnter memleak plus 7 other chang... artifact: 8f0ca04392 user: andreas_kupries
2009-12-10
02:49 • Ticket [2895323fff]: 1 change artifact: 4b0f8c81f2 user: dgp
2009-11-10
16:44 • New ticket [2895323fff]. artifact: 5b061f7f5e user: dgp

TclContinuationsEnter memleak

Closed / Fixed2895323fffffffffffffffffffffffffffffffffCreated 17 years agoUpdated 17 years ago
Descriptionplain2009-11-10 16:44:02
The TclContinuationsEnter routine allocates a
ContLineLoc struct and stores it in a hash table.

When the hash table storage overwrites an
entry already in the table, the old entry is
not freed, and memory is leaked.

Committing fix for 8.5.8 release, but leaving
this tracker item open so aku can review and
see whether hash table overwrites are a 
symptom of something else going wrong.
dgp Ticket [2895323fff]: 1 change [History diff]2009-12-10 02:49:42
andreas_kupriesplain2009-12-11 02:13:37
allow_comments - 1

Committed an updated comment which describes when the re-entry can happen. It is a legal situation, our fix pluggin the memory leak was not papering over some other bug.
Log in (anonymous is fine) to add a comment.