[PyQt] double free issue with OUT-argument

Diez B. Roggisch deets at web.de
Fri Feb 19 14:24:44 GMT 2010


> Which version of SIP? I think this is fixed in SIP v4.10.

It in fact is, and upgrading from a 4.9 release candidate or some such 
helped. Thanks.

>
> Unrelated...
>
> There is a memory leak in your %ConvertToTypeCode as PySequence_GetItem()
> returns a new reference to the item. However you should use the PyTuple
> functions anyway (which don't return a new reference) because you are using
> PyArg_ParseTuple() to do the conversion.


Thank you for pointing that out... my wrap-fu isn't to great ;)

diez


More information about the PyQt mailing list