Skip to content
Tcl Source Code History Of Ticket 403755ffffffffffffffffffffffffffffffffff
Login

History Of Ticket 403755ffffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 403755ffffffffffffffffffffffffffffffffff

  1. Ticket change [0c4997657f] (rid 114148) by hemanglavana on 2001-02-12 20:58:41:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      In Tcl_Import function, the following variable is initialized but never freed:
      
                      Tcl_DString ds;
                      Tcl_DStringInit(&ds);
                      Tcl_DStringAppend(&ds, nsPtr->fullName, -1);
                        ...
      
      This will result in memory leak. The attached  patch fixes this problem.
      
      Note that the patch is similar to the  Tcl_DStringFree(&ds) call found in
      Tcl_ProcObjCmd function in tclProc.c file.
      
      Thanks,
      Hemang.
      
    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: "hemanglavana"
    9. subsystem initialized to: ""
    10. title initialized to:
      Memory leak in Tcl_Import function (file=tclNamesp.c)
      
    11. type initialized to: "Patch"
  2. Add attachment "None" [be9799a061] (rid 102096) by hemanglavana on 2001-02-13 03:58:41.

  3. Ticket change [510b1462f9] (rid 126070) by hobbs on 2001-02-14 09:26:38:

    1. assignee changed to: "hobbs"
    2. icomment:
      It does indeed seem to be the case that the DString
      initialized in that block is never freed.  I'm surprised
      that Purify never picked up this leak.  This looks to be
      in the path of 'namespace import'.
      
      
    3. login: "hobbs"
    4. mimetype: "text/plain"
    5. username: "hobbs"
  4. Ticket change [2551095e68] (rid 88150) by dgp on 2001-02-22 07:19:02:

    1. subsystem changed to: "21. [namespace]"
  5. Ticket change [7a3927a9d7] (rid 90274) by hobbs on 2001-03-24 08:16:52:

    1. closedate changed to: "2001-03-24T01:16:52"
    2. closer changed to: "hobbs"
    3. icomment:
      Logged In: YES 
      user_id=72656
      
      Added to 8.4a2 sources 23 Mar 2001.
      
      
    4. login: "hobbs"
    5. mimetype: "text/plain"
    6. status changed to: "Closed"
    7. username: "hobbs"
  6. Ticket change [46cb89eaf1] (rid 99577) by dgp on 2001-03-24 22:23:29:

    1. closedate changed to: "2001-03-24T15:23:29"
    2. closer changed to: "dgp"
    3. resolution changed to: "Accepted"