mirror of https://github.com/python/cpython
Fix ref-antileak in _struct.c which eventually lead to deallocating None.
This commit is contained in:
parent
c1282eef0c
commit
c26025c562
|
@ -1513,7 +1513,7 @@ s_pack_to(PyObject *self, PyObject *args)
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
return Py_None;
|
Py_RETURN_NONE;
|
||||||
}
|
}
|
||||||
|
|
||||||
static PyObject *
|
static PyObject *
|
||||||
|
|
Loading…
Reference in New Issue