merge 3.5 (#29398)
This commit is contained in:
commit
2b3f4c1efb
|
@ -31,7 +31,7 @@ static XxoObject *
|
||||||
newXxoObject(PyObject *arg)
|
newXxoObject(PyObject *arg)
|
||||||
{
|
{
|
||||||
XxoObject *self;
|
XxoObject *self;
|
||||||
self = PyObject_New(XxoObject, (PyTypeObject*)Xxo_Type);
|
self = PyObject_GC_New(XxoObject, (PyTypeObject*)Xxo_Type);
|
||||||
if (self == NULL)
|
if (self == NULL)
|
||||||
return NULL;
|
return NULL;
|
||||||
self->x_attr = NULL;
|
self->x_attr = NULL;
|
||||||
|
|
Loading…
Reference in New Issue