Mercurial > cpython-lru_cache-weakref
diff Modules/_tkinter.c @ 51409:b4e154c8a38a 2.6
Merged revisions 69376 via svnmerge from
svn+ssh://pythondev/python/trunk
........
r69376 | guilherme.polo | 2009-02-06 20:26:22 -0200 (Fri, 06 Feb 2009) | 3 lines
Partial fix to issue #1731706: memory leak in Tkapp_Call when calling
from a thread different than the one that created the Tcl interpreter.
........
| author | Guilherme Polo <ggpolo@gmail.com> |
|---|---|
| date | Fri, 06 Feb 2009 22:52:31 +0000 |
| parents | fae1758a2346 |
| children | 4e7449348c1a |
line wrap: on
line diff
--- a/Modules/_tkinter.c Fri Feb 06 13:32:43 2009 +0000 +++ b/Modules/_tkinter.c Fri Feb 06 22:52:31 2009 +0000 @@ -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);
