Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: d16d7d1faa9bf00339e8eaad7848d3cb1a676506
Ticket: 1049909fffffffffffffffffffffffffffffffff
Obj Memory Leak
User & Date: msofer on 2004-10-19 17:06:24
Changes

  1. closedate changed to: "2004-10-19T10:06:24"
  2. closer changed to: "msofer"
  3. icomment:
    Logged In: YES 
    user_id=148712
    
    No. The Tcl_Obj are allocated in a pool, you cannot free
    them independently (except if tcl was compiled with
    -DPURIFY, in which case there is not tclFreeObjList, and the
    core handles the freeing already).
    
    The free objects are not properly freed by tcl. They are
    kept around for reuse, and tcl relies on the OS to release
    the memory at exit. See the comments in the function
    TclAllocateFreeObjects(), in generic/tclObj.c
    
    
    
  4. login: "msofer"
  5. mimetype: "text/plain"
  6. resolution changed to: "Invalid"
  7. status changed to: "Closed"
  8. username: "msofer"