This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author gregory.p.smith
Recipients alexandre.vassalotti, gregory.p.smith
Date 2007-12-03.02:53:43
SpamBayes Score 0.014779503
Marked as misclassified No
Message-id <1196650424.76.0.754376939503.issue1283@psf.upfronthosting.co.za>
In-reply-to
Content
"There is still another possible leak if the PyMem_Realloc
return NULL (i.e., the system is out of memory), but I don't think it
worth fixing."

Do it.  It looks easy: a Py_DECREF(it) before the return PyErr_NoMemory().
History
Date User Action Args
2007-12-03 02:53:45gregory.p.smithsetspambayes_score: 0.0147795 -> 0.014779503
recipients: + gregory.p.smith, alexandre.vassalotti
2007-12-03 02:53:44gregory.p.smithsetspambayes_score: 0.0147795 -> 0.0147795
messageid: <1196650424.76.0.754376939503.issue1283@psf.upfronthosting.co.za>
2007-12-03 02:53:44gregory.p.smithlinkissue1283 messages
2007-12-03 02:53:43gregory.p.smithcreate