summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Modules/xxlimited.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/xxlimited.c b/Modules/xxlimited.c
index c1a9be9b89..5041ac8284 100644
--- a/Modules/xxlimited.c
+++ b/Modules/xxlimited.c
@@ -31,7 +31,7 @@ static XxoObject *
newXxoObject(PyObject *arg)
{
XxoObject *self;
- self = PyObject_New(XxoObject, (PyTypeObject*)Xxo_Type);
+ self = PyObject_GC_New(XxoObject, (PyTypeObject*)Xxo_Type);
if (self == NULL)
return NULL;
self->x_attr = NULL;