mirror of
https://github.com/python/cpython.git
synced 2025-07-30 06:34:15 +00:00
Fix ref-antileak in _struct.c which eventually lead to deallocating None.
This commit is contained in:
parent
c1282eef0c
commit
c26025c562
1 changed files with 1 additions and 1 deletions
|
@ -1513,7 +1513,7 @@ s_pack_to(PyObject *self, PyObject *args)
|
|||
return NULL;
|
||||
}
|
||||
|
||||
return Py_None;
|
||||
Py_RETURN_NONE;
|
||||
}
|
||||
|
||||
static PyObject *
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue