Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 11a291199c6f4442215e444481c4df6d2e17d8ca
Ticket: 1578454fffffffffffffffffffffffffffffffff
Tcl_EvalObjv leaks memory when calling apply
User & Date: msofer on 2006-10-17 03:11:10
Changes

  1. assignee changed to: "msofer"
  2. icomment:
    Logged In: YES 
    user_id=148712
    
    New test added to show the leak of the internal rep:
    
    ==== apply-9.1 leaking internal rep FAILED
    ==== Contents of test case:
    
        set end [getbytes]
        for {set i 0} {$i < 5} {incr i} {
            ::apply [lrange $lam 0 end]
            set tmp $end
            set end [getbytes]
        }
        set leakedBytes [expr {$end - $tmp}]
    
    ---- Result was:
    222
    ---- Result should have been (exact matching):
    0
    ==== apply-9.1 FAILED
    
    
    
  3. login: "msofer"
  4. mimetype: "text/plain"
  5. username: "msofer"