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 amaury.forgeotdarc
Recipients amaury.forgeotdarc, benjamin.peterson, christian.heimes
Date 2008-08-23.00:02:17
SpamBayes Score 0.027402647
Marked as misclassified No
Message-id <1219449741.04.0.903328759678.issue3651@psf.upfronthosting.co.za>
In-reply-to
Content
Of course, I forgot PyObject_AsWriteBuffer in my patch.

I wonder if turning view.obj into an owned reference was a good idea.
There are more calls to bf_getbuffer (in getarg.c), they leak too: 

test_struct leaked [5, 5, 5, 5] references, sum=20

because of a PyArg_ParseTuple with s# and a bytes object.
History
Date User Action Args
2008-08-23 00:02:22amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, christian.heimes, benjamin.peterson
2008-08-23 00:02:21amaury.forgeotdarcsetmessageid: <1219449741.04.0.903328759678.issue3651@psf.upfronthosting.co.za>
2008-08-23 00:02:20amaury.forgeotdarclinkissue3651 messages
2008-08-23 00:02:19amaury.forgeotdarccreate