Message259204
Current code already decref obj if creating previous argument is failed. But a leak if PyTuple_New() fails is possible.
Proposed patch fixes this leak and adds a test for the case when creating previous argument is failed. Testing the failure of PyTuple_New() is problematic. |
|
Date |
User |
Action |
Args |
2016-01-29 11:08:51 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, josh.r, squidevil |
2016-01-29 11:08:51 | serhiy.storchaka | set | messageid: <1454065731.08.0.951670548261.issue26168@psf.upfronthosting.co.za> |
2016-01-29 11:08:51 | serhiy.storchaka | link | issue26168 messages |
2016-01-29 11:08:50 | serhiy.storchaka | create | |
|