Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: af6ae42acea0da94d37f0c8b902b34785c546f87
Ticket: 693564ffffffffffffffffffffffffffffffffff
tcmdPtr leaked in rename and execution traces
User & Date: vincentdarley on 2003-02-26 19:52:55
Changes

  1. icomment:
    Logged In: YES 
    user_id=32170
    
    I think adding this 'else' block around line 4083 of 
    tclCmdMZ.c will fix this:
    
    if (tcmdPtr->flags & 
    TCL_TRACE_EXEC_IN_PROGRESS) {
        /* Postpone deletion, until exec trace 
    returns */
        tcmdPtr->flags = 0;
    } else {
        /* 
         * Decrement the refCount since the 
    command which held our
         * reference (ever since we were created) 
    has just gone away
         */
        tcmdPtr->refCount--;
    }
    
    
    
    
  2. login: "vincentdarley"
  3. mimetype: "text/plain"
  4. username: "vincentdarley"