Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 819c205a291e3a3e3aaf31c6f017d489d044bbdf
Ticket: 1577832fffffffffffffffffffffffffffffffff
Tcl_DeleteInterp directly frees iPtr->chanMsg
User & Date: mistachkin on 2006-10-15 23:46:02
Changes

  1. assignee changed to: "andreas_kupries"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    
    In HEAD, Tcl_DeleteInterp has the following code:
    
        /*
         * TIP #219, Tcl Channel Reflection API. Discard a
    leftover state.
         */
    
        if (iPtr->chanMsg != NULL) {
            Tcl_DecrRefCount (iPtr->chanMsg);
    iPtr->chanMsg = NULL;
        }
    
    I believe this block should actually be in
    DeleteInterpProc, where all the other interp fields are
    actually freed since Tcl_EventuallyFree does not
    necessarily end up calling DeleteInterpProc immediately.
    
    
  4. foundin changed to: "obsolete: 8.5a5"
  5. is_private changed to: "0"
  6. priority changed to: "7 High"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "mistachkin"
  10. subsystem changed to: "None"
  11. title changed to: "Tcl_DeleteInterp directly frees iPtr->chanMsg"
  12. type changed to: "Bug"