summaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2011-08-04 13:16:22 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2011-08-04 13:16:22 (GMT)
commit277d2c7075ce7dee345ae755f48675378a04edc2 (patch)
tree5be866fb0c0f23fc5056a35a31e6aa2fa468f9cd /ChangeLog
parentd82fd277a100d2f7d8297003c6aeae4cef56a6fa (diff)
downloadtcl-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--ChangeLog10
1 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 3e3bbec..e6bf629 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.