| Graham Dumpleton (JIRA) 2006-10-21, 1:12 am |
| Memory leak due to not clearing thread state object before deletion.
--------------------------------------------------------------------
Key: MODPYTHON-194
URL: http://issues.apache.org/jira/browse/MODPYTHON-194
Project: mod_python
Issue Type: Bug
Components: core
Affects Versions: 3.2.10
Reporter: Graham Dumpleton
Assigned To: Graham Dumpleton
Fix For: 3.3
Jeff Robbins reported a potential memory leak in mod_python as a result of PyThreadState_Clear() not being called prior to PyThreadState_Delete. See:
http://mail-archives.apache.org/mod...dscpl.com.au%3e
Problem looks to be valid, but as per followup:
http://mail-archives.apache.org/mod...dscpl.com.au%3e
the location of the PyThreadState_Clear() call would need to be moved to before the lock is released.
|