Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2007-12-06
17:27 • Closed ticket [1845397fff]: Unfreed (non allocing) DString in TclMakeEnsemble()<... artifact: c3cb292a67 user: dkf
17:05 • Ticket [1845397fff]: 1 change artifact: 0be48136f8 user: msofer
09:59 • New ticket [1845397fff]. artifact: c75b12153d user: afredd

Unfreed (non allocing) DString in TclMakeEnsemble()

Closed / Fixed1845397fffffffffffffffffffffffffffffffffCreated 19 years agoUpdated 19 years ago
Descriptionplain2007-12-06 09:59:26
The Tcl_DString "buf" in the function TclMakeEnsemble()
at line ~5923 of tclNamesp.c is not TclDStringFree'd.

But since none of its 3 use cases ever overflows the
staticSpace, no alloc'd memory is ever lost.

Suggest either add the Tcl_DStringFree or a comment
noting why it's unnecesary.
msofer Ticket [1845397fff]: 1 change [History diff]2007-12-06 17:05:11
dkf Closed ticket [1845397fff]. [History diff]2007-12-06 17:27:05
Log in (anonymous is fine) to add a comment.