Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: e672a02e67b49e8dd656e8d6d60044c850134c88
Ticket: 2939073fffffffffffffffffffffffffffffffff
Unset PATTERN unsafe with trace-originated secondary unsets
User & Date: ferrieux on 2010-02-03 00:34:27
Changes

  1. icomment:
    Attaching the fix. Several things to note:
      - removed the refcount-- == 1 logic, since it is wrong in that case, and CleanupVar does it too, and does it right
     - moved CleanupVar back to the bottom of the loop in the "else" of !IsVarUndefined
     - this fixes the leak, avoids using the var after freeing, and makes your comments accurate again ;-)
    
    
  2. login: "ferrieux"
  3. mimetype: "text/plain"
  4. username: "ferrieux"