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
- assignee changed to: "hobbs"
- cmimetype changed to: "text/plain"
- 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
- foundin changed to: "obsolete: 8.5a5"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "mpc_janssen"
- subsystem changed to: "42. Memory Preservation"
- title changed to: "Tcl_EvalObjv leaks memory when calling apply"
- type changed to: "Bug"