diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2011-08-04 13:16:22 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2011-08-04 13:16:22 (GMT) |
commit | 277d2c7075ce7dee345ae755f48675378a04edc2 (patch) | |
tree | 5be866fb0c0f23fc5056a35a31e6aa2fa468f9cd /ChangeLog | |
parent | d82fd277a100d2f7d8297003c6aeae4cef56a6fa (diff) | |
download | tcl-277d2c7075ce7dee345ae755f48675378a04edc2.zip tcl-277d2c7075ce7dee345ae755f48675378a04edc2.tar.gz tcl-277d2c7075ce7dee345ae755f48675378a04edc2.tar.bz2 |
[Bug 3384840]: Fix memory leaks in the assembler due to Tcl_Obj reference
ownership error.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -1,3 +1,13 @@ +2011-08-04 Donal K. Fellows <dkf@users.sf.net> + + * generic/tclAssembly.c (AssembleOneLine, GetBooleanOperand) + (GetIntegerOperand, GetListIndexOperand, FindLocalVar): [Bug 3384840]: + A Tcl_Obj is allocated by GetNextOperand, so callers of it must not + hold a reference to one in the 'out' parameter when calling it. This + was causing a great many memory leaks. + * tests/assemble.test (assemble-51.*): Added group of memory leak + tests. + 2011-08-02 Don Porter <dgp@users.sourceforge.net> * changes: Updates for 8.6b2 release. |