Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2002-08-09
01:41 • Closed ticket [587495ffff]: memory leak in TEBC plus 6 other changes artifact: b1c8b73ef0 user: msofer
2002-07-29
23:38 • Ticket [587495ffff]: 2 changes artifact: d0ad44d8b8 user: msofer
2002-07-28
04:30 • Ticket [587495ffff]: 5 changes artifact: a7b2df3a15 user: msofer
03:17 • Ticket [587495ffff]: 4 changes artifact: cb31ba967e user: hobbs
2002-07-27
19:27 • New ticket [587495ffff]. artifact: 2dc5dd537e user: msofer

memory leak in TEBC

Closed / Fixed587495ffffffffffffffffffffffffffffffffffCreated 24 years agoUpdated 24 years ago
Descriptionplain2002-07-27 19:27:53
In today's head the proc 
  proc a num {while {[incr num -1]} {}}
leaks massively, while
  proc a num {for {set i $num} {$i} {incr i -1} {}}
doesn't. This is something new since 8.4b1
hobbsplain2002-07-28 03:17:27
Logged In: YES 
user_id=72656

please make sure that such tests are somewhere in the tcl 
test suite, even if they otherwise don't test anything.  It is the 
test suite I run over with purify to identify leaks.
msoferplain2002-07-28 04:30:51
Logged In: YES 
user_id=148712

Leak fixed in HEAD. Tests forthcoming (leaving open as
reminder).
msofer Ticket [587495ffff]: 2 changes [History diff]2002-07-29 23:38:59
msoferplain2002-08-09 01:41:46
Logged In: YES 
user_id=148712

This case is actually covered by entries in for.test,
if.test and while.test: purify shoud detect such leaks already.
Log in (anonymous is fine) to add a comment.