Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 03b6d6f573c5c5141b5ed3cd4f821982f6062af1
Ticket: 229969ffffffffffffffffffffffffffffffffff
Memory Leak TCL 8.3.0 in TclAlloc
User & Date: dkf on 2001-01-25 17:03:22
Changes

  1. icomment:
    Tcl deletes the interpreter when the final matching call to Tcl_Release (matching the calls performed to Tcl_Preserve) is called.  In normal situations, this happens as the stack is unwound in the normal course of things - once an interpreter is deleted, no new commands can be called on it, so unwinding depends entirely on currently running code.
    
    Is there any reason you're not using the Tcl_Obj-based variable access functions?  If nothing else, I understand how they manage memory allocation and free-ing better than with the string-based functions...  :^)
    
    
  2. login: "dkf"
  3. mimetype: "text/plain"
  4. username: "dkf"