Author: Armin Rigo <[email protected]>
Branch: cpyext-avoid-roundtrip
Changeset: r92673:f74697a4cbd1
Date: 2017-10-09 11:31 +0200
http://bitbucket.org/pypy/pypy/changeset/f74697a4cbd1/
Log: (antocuni, arigo)
Fix
diff --git a/pypy/module/cpyext/src/object.c b/pypy/module/cpyext/src/object.c
--- a/pypy/module/cpyext/src/object.c
+++ b/pypy/module/cpyext/src/object.c
@@ -72,7 +72,7 @@
static PyObject *
_type_alloc(PyTypeObject *metatype)
{
- PyHeapTypeObject *heaptype =
(PyHeapTypeObject*)_PyPy_Malloc(sizeof(PyTypeObject));
+ PyHeapTypeObject *heaptype =
(PyHeapTypeObject*)_PyPy_Malloc(sizeof(PyHeapTypeObject));
PyTypeObject *pto = &heaptype->ht_type;
pto->ob_refcnt = 1;
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit