Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 578b7d16707ed0501bfef40882d5b66c8153fabf
Ticket: 467523ffffffffffffffffffffffffffffffffff
memory leak in [namespace eval foo {}]
User & Date: msofer on 2001-10-04 00:16:55
Changes

  1. icomment:
    Logged In: YES 
    user_id=148712
    
    I think the leak should occur at any evaluation of {}, ie,
    also for
        proc a {} {}
        a
    
    As I see it, the special handling of "bytecodes with empty
    source" in Tcl_EvalObjEx is at fault. I enclose a small
    patch that should correct this.
    
    Ronnie, Jeff: does this fix the bug?
      
    
    
  2. login: "msofer"
  3. mimetype: "text/plain"
  4. username: "msofer"