[Python-checkins] r69376 - in python/trunk: Misc/NEWS Modules/_tkinter.c
guilherme.polo
python-checkins at python.org
Fri Feb 6 23:26:23 CET 2009
Author: guilherme.polo
Date: Fri Feb 6 23:26:22 2009
New Revision: 69376
Log:
Partial fix to issue #1731706: memory leak in Tkapp_Call when calling
from a thread different than the one that created the Tcl interpreter.
Modified:
python/trunk/Misc/NEWS
python/trunk/Modules/_tkinter.c
Modified: python/trunk/Misc/NEWS
==============================================================================
--- python/trunk/Misc/NEWS (original)
+++ python/trunk/Misc/NEWS Fri Feb 6 23:26:22 2009
@@ -149,6 +149,10 @@
Library
-------
+- Partial fix to issue #1731706: memory leak in Tkapp_Call when calling
+ from a thread different than the one that created the Tcl interpreter.
+ Patch by Robert Hancock.
+
- Issue #1520877: Now distutils.sysconfig reads $AR from the
environment/Makefile. Patch by Douglas Greiman.
Modified: python/trunk/Modules/_tkinter.c
==============================================================================
--- python/trunk/Modules/_tkinter.c (original)
+++ python/trunk/Modules/_tkinter.c Fri Feb 6 23:26:22 2009
@@ -1256,7 +1256,9 @@
*(e->res) = Tkapp_CallResult(e->self);
}
LEAVE_PYTHON
- done:
+
+ Tkapp_CallDeallocArgs(objv, objStore, objc);
+done:
/* Wake up calling thread. */
Tcl_MutexLock(&call_mutex);
Tcl_ConditionNotify(&e->done);
More information about the Python-checkins
mailing list