Skip to content
Tcl Source Code History Of Ticket 653511
Login

History Of Ticket 653511

Artifacts Associated With Ticket 653511

  1. Ticket change [bb05c93c5c] (rid 129409) by mdejong on 2002-12-13 23:25:29:

    1. assignee initialized to: "hobbs"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      Here is a patch that calls ckfree() in
      TclFinalizeEnvironment
      for env vars that Tcl has allocated. I ran into this while
      trying to plug memory leaks in the core so that I could
      figure out if my extension was leaking memory. This patch
      will also reset the original environ pointer in
      TclFinalizeEnvironment. While this fixes the memory leak,
      I wanted someone else to review it to so they could look at
      the environ string issue with a fresh eye. My question is,
      should Tcl reset the original state after it is unloaded or
      should it leave the possibly modified env array the
      way it was and leak this memory? If leaking memory is
      the way to go, would it make sense to allocate them with
      malloc so that they do not show up as leaked memory with
      TCL_MEM_DEBUG?
      
    4. foundin initialized to: "None"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "mdejong"
    9. subsystem initialized to: "08. Environment Variables"
    10. title initialized to: "Deallocate env vars when finalizing"
    11. type initialized to: "Patch"
  2. Ticket change [9e1b3f6e3e] (rid 96422) by hobbs on 2003-02-19 02:53:54:

    1. icomment:
      Logged In: YES 
      user_id=72656
      
      no patch?
      
      
    2. login: "hobbs"
    3. mimetype: "text/plain"
    4. username: "hobbs"
  3. Add attachment "env.patch2" [dd3ac418ed] (rid 114631) by mdejong on 2003-02-19 03:05:36.

  4. Ticket change [5b1f0c1de3] (rid 118263) by mdejong on 2003-02-19 03:05:36:

    1. icomment:
      
      
      File Added - 42806: env.patch2
      
      Logged In: YES 
      user_id=90858
      
      How very strange. I could have sworn I added the patch before.
      
      
    2. login: "mdejong"
    3. mimetype: "text/plain"
    4. username: "mdejong"