Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: c0f2a55e64652ad31a0c2de84e65bcceb3cbc483
Ticket: 1578454fffffffffffffffffffffffffffffffff
Tcl_EvalObjv leaks memory when calling apply
User & Date: mpc_janssen on 2006-10-16 19:44:46
Changes

  1. assignee changed to: "hobbs"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    When apply is called using Tcl_EvalObjv, memory is 
    being leaked that doesn't seem possible to reclaim.
    If puts is used as command instead of apply no memory 
    is lost. 
    Attached a small C lib which defines two commands 
    doputs and doapply where the only difference is the 
    contents of objv[0] in the Tcl_EvalObjv call. doapply 
    leaks, doputs doesn't.
    
    System info:
    
    % parray tcl_platform
    tcl_platform(byteOrder) = littleEndian
    tcl_platform(machine)   = intel
    tcl_platform(os)        = Windows NT
    tcl_platform(osVersion) = 5.1
    tcl_platform(platform)  = windows
    tcl_platform(threaded)  = 1
    tcl_platform(user)      = mjanssen
    tcl_platform(wordSize)  = 4
    % info patchlevel
    8.5a5
    
    
  4. foundin changed to: "obsolete: 8.5a5"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "mpc_janssen"
  10. subsystem changed to: "42. Memory Preservation"
  11. title changed to: "Tcl_EvalObjv leaks memory when calling apply"
  12. type changed to: "Bug"