Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2013-09-19
13:46 • Closed ticket [31661d2135]: INST_LIST_RANGE_IMM mem leak plus 7 other change... artifact: 1838722ae5 user: dgp
13:44
[31661d2135] Plug memory leak. check-in: d2f9db98ef user: dgp tags: trunk
13:39
[31661d2135] Plug memory leak. closed check-in: 3aeeb51441 user: dgp tags: bug-31661d2135
13:38 • New ticket [31661d2135] INST_LIST_RANGE_IMM mem leak. artifact: 4e0f317561 user: dgp

INST_LIST_RANGE_IMM mem leak

Closed / Fixed31661d2135f09f82d92df4889bf56fbf5cb9ab0cCreated 13 years agoUpdated 13 years ago
Descriptionplain2013-09-19 13:38:07
Rolf Ade reports this script leaks memory:

proc demo {} {
    while 1 {
        set path [lreplace [split /foo/bar/baz /] end end]
    }
}
demo

Bisecting confirms the leak starts with

http://core.tcl.tk/tcl/info/cad3b32b14
Referenced by2
dgpplain2013-09-19 13:46:30
fixed for 8.6.1.
Log in (anonymous is fine) to add a comment.