Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: d87cf33cda1d03622adb0c57a662a2e0c1d2af48
Ticket: 467523ffffffffffffffffffffffffffffffffff
memory leak in [namespace eval foo {}]
User & Date: msofer on 2004-07-16 00:42:21
Changes

  1. icomment:
    Logged In: YES 
    user_id=148712
    
    This bug reappeared with the (faulty) fix of bug #983660 (in
    tcl8.5a2), and was fixed using a different strategy.
    
    The previous strategy was to have special code in
    TclReleaseLiteral to handle the self-references generated by
    empty scripts. The new approach avoids the self-reference
    altogether, by having empty scripts return an unshared literal.
    
    
  2. login: "msofer"
  3. mimetype: "text/plain"
  4. username: "msofer"