Artifacts Associated With Ticket 403755ffffffffffffffffffffffffffffffffff
Ticket change [0c4997657f] (rid 114148) by hemanglavana on 2001-02-12 20:58:41:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- 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. - foundin initialized to: "None"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "hemanglavana"
- subsystem initialized to: ""
- title initialized to:
Memory leak in Tcl_Import function (file=tclNamesp.c)
- type initialized to: "Patch"
Add attachment "None" [be9799a061] (rid 102096) by hemanglavana on 2001-02-13 03:58:41.
Ticket change [510b1462f9] (rid 126070) by hobbs on 2001-02-14 09:26:38:
- assignee changed to: "hobbs"
- 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'.
- login: "hobbs"
- mimetype: "text/plain"
- username: "hobbs"
Ticket change [2551095e68] (rid 88150) by dgp on 2001-02-22 07:19:02:
- subsystem changed to: "21. [namespace]"
Ticket change [7a3927a9d7] (rid 90274) by hobbs on 2001-03-24 08:16:52:
- closedate changed to: "2001-03-24T01:16:52"
- closer changed to: "hobbs"
- icomment:
Logged In: YES user_id=72656 Added to 8.4a2 sources 23 Mar 2001.
- login: "hobbs"
- mimetype: "text/plain"
- status changed to: "Closed"
- username: "hobbs"
Ticket change [46cb89eaf1] (rid 99577) by dgp on 2001-03-24 22:23:29:
- closedate changed to: "2001-03-24T15:23:29"
- closer changed to: "dgp"
- resolution changed to: "Accepted"