Skip to content
Tcl Source Code View Ticket
Login

View Ticket

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.