Overview
| Artifact ID: | 503a566399a2a1f073e37436f489090522fc4b90 |
|---|---|
| Ticket: | 1348775fffffffffffffffffffffffffffffffff
varTraces leak when variable is unset |
| User & Date: | dkf on 2005-11-08 17:44:05 |
Changes
- icomment:
Logged In: YES user_id=79902 Might be cleaner to introduce a new private function (perhaps called TclTraceVarEx) that lets the caller supply the VarTrace with the traceProc, clientData and flags fields already filled in. That would, in turn, allow the lookup code to be handled far more neatly (i.e. by not inlining it all in the [trace * variable] subcommand implementation). The general strategy (using a single alloc instead of a pair) should work well though, given that we cannot change the API. Still thinking about this...
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"