mirror of
https://github.com/python/cpython.git
synced 2025-08-28 20:56:54 +00:00
bpo-42021: Fix possible ref leaks during _sqlite3 module init (GH-22673)
This commit is contained in:
parent
b67cbbda3a
commit
644e94272a
4 changed files with 94 additions and 130 deletions
|
@ -38,7 +38,7 @@
|
|||
/** exported functions **/
|
||||
|
||||
/* used by module.c to init the microprotocols system */
|
||||
extern int pysqlite_microprotocols_init(PyObject *dict);
|
||||
extern int pysqlite_microprotocols_init(PyObject *module);
|
||||
extern int pysqlite_microprotocols_add(
|
||||
PyTypeObject *type, PyObject *proto, PyObject *cast);
|
||||
extern PyObject *pysqlite_microprotocols_adapt(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue