diff options
author | Benjamin Peterson <benjamin@python.org> | 2017-02-01 07:31:02 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2017-02-01 07:31:02 (GMT) |
commit | ec977c302847b6dc2d763a896091582708fc392a (patch) | |
tree | cb9d8df37d426ead5c11c57e39740779ce7a9ed3 /Modules | |
parent | 34e7e2ecb1741850190e78f42875480693d3537b (diff) | |
download | cpython-ec977c302847b6dc2d763a896091582708fc392a.zip cpython-ec977c302847b6dc2d763a896091582708fc392a.tar.gz cpython-ec977c302847b6dc2d763a896091582708fc392a.tar.bz2 |
gc types needs to be allocated as such (closes #29398)
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/xxlimited.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/xxlimited.c b/Modules/xxlimited.c index 40c1760..ea620fd 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; |