|
2007-07-30
| ||
| 10:16 | • Ticket [1763244fff] Tcl_SetVar2 contais a memory leak status still Closed wi... artifact: c33de42e2b user: msofer | |
| 05:44 | • Closed ticket [1763244fff]. artifact: 667cfac4f1 user: dkf | |
|
2007-07-29
| ||
| 20:42 | • New ticket [1763244fff]. artifact: 3d53ea6dff user: nobody | |
Tcl_SetVar2 contais a memory leak
Closed / Invalid1763244fffffffffffffffffffffffffffffffffCreated 19 years agoUpdated 19 years ago
Descriptionplain2007-07-29 20:42:53
I think the Tcl_IncrRefCount(valuePtr) statement does not belong there and causes a memory leak
dkfplain2007-07-30 05:44:49
Logged In: YES user_id=79902 Originator: NO And yet masses of code doesn't leak. Seems someone's expectations are wrong...
msoferplain2007-07-30 10:16:36
Logged In: YES user_id=148712 Originator: NO Any evidence? Because I do not think so, and neither does valgrind. It is balanced by a Tcl_DecrRefCount two lines below. The incr/decr spiel is necessary for ... hairy monster issues (see http://wiki.tcl.tk/14880)
Log in (anonymous is fine) to add a comment.