Message160203
| Author |
cassou |
| Recipients |
cassou, lemburg, tim.peters |
| Date |
2012年05月08日.13:19:48 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1336483189.75.0.262092061745.issue14752@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
In add_methods() function from typeobject.c, it looks like Py_DECREF is not called where it should be. Please find attached a patch that fixes the leak. The patch is also in commit #85a01718b3e3 of my hg repository under the branch fix_add_methods_leak.
This bug has been found using Coccinelle (http://coccinelle.lip6.fr/) and a dedicated semantic patch (https://gist.github.com/2634899). |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年05月08日 13:19:49 | cassou | set | recipients:
+ cassou, lemburg, tim.peters |
| 2012年05月08日 13:19:49 | cassou | set | messageid: <1336483189.75.0.262092061745.issue14752@psf.upfronthosting.co.za> |
| 2012年05月08日 13:19:49 | cassou | link | issue14752 messages |
| 2012年05月08日 13:19:48 | cassou | create |
|