Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: a1e4324bb84629977dfd2662f239c801e4436645
Ticket: 464380ffffffffffffffffffffffffffffffffff
Memory leak in Tcl_ExitThread()
User & Date: rbrunner on 2001-09-24 12:08:24
Changes

  1. assignee changed to: "andreas_kupries"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Tcl_FinalizeThread is not only called by Tcl_Finalize, 
    but also by Tcl_ExitThread. There however, the 
    reference count of tsdPtr->tclLibraryPath is not 
    decremented. This results in a memory leak when 
    creating and destroying threads.
    
    Attached is a patch for tclEvent.c that checks for and 
    frees this object in Tcl_FinalizeThread instead of in 
    Tcl_Finalize.
    
    -> fix memory leak in Tcl_ExitThread
    
  4. foundin changed to: "obsolete: 8.4a3"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "rbrunner"
  9. subsystem changed to: "49. Threading"
  10. title changed to: "Memory leak in Tcl_ExitThread()"
  11. type changed to: "Bug"