mirror of
https://github.com/python/cpython.git
synced 2025-07-31 23:23:11 +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 NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
return Py_None;
|
Py_RETURN_NONE;
|
||||||
}
|
}
|
||||||
|
|
||||||
static PyObject *
|
static PyObject *
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue