Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 52a884df16edf363c864310400bd864d962e0389
Ticket: 983660ffffffffffffffffffffffffffffffffff
Leak of unshared literals at interp deletion
User & Date: msofer on 2004-07-04 07:34:11
Changes

  1. icomment:
    Logged In: YES 
    user_id=148712
    
    Indeed - inserting
      i eval {rename foo {}}
    before deleting i removes the leak.
    Note that this is a more general bug, the returnOpts is just
    a trigger. Every non-shared literal in a proc body will be
    leaked if the proc is not explicitly deleted before the interp. 
    Amazing that this hasn't been detected in usage of
    precompiled proc bodies (proComp)!
    
    
  2. login: "msofer"
  3. mimetype: "text/plain"
  4. username: "msofer"