Overview
| Artifact ID: | 0c4997657fb40e999a84a8c4c353a3cafd227a77 |
|---|---|
| Ticket: | 403755ffffffffffffffffffffffffffffffffff
Memory leak in Tcl_Import function (file=tclNamesp.c) |
| User & Date: | hemanglavana on 2001-02-12 20:58:41 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed 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 changed to: "None"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "hemanglavana"
- subsystem changed to: ""
- title changed to:
Memory leak in Tcl_Import function (file=tclNamesp.c)
- type changed to: "Patch"