mirror of
https://github.com/python/cpython.git
synced 2025-11-13 15:40:05 +00:00
Merged revisions 88337 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r88337 | brett.cannon | 2011-02-04 12:24:02 -0800 (Fri, 04 Feb 2011) | 5 lines There was a possibility that the initialization of _sqlite, when it failed, would lead to a decref of a NULL. Fixes issue #11110. ........
This commit is contained in:
parent
8e0ef58f30
commit
f7ef4de3d5
2 changed files with 3 additions and 1 deletions
|
|
@ -37,6 +37,8 @@ Core and Builtins
|
||||||
Library
|
Library
|
||||||
-------
|
-------
|
||||||
|
|
||||||
|
- Issue #11110: Fix _sqlite to not deref a NULL when module creation fails.
|
||||||
|
|
||||||
- Issue #11089: Fix performance issue limiting the use of ConfigParser()
|
- Issue #11089: Fix performance issue limiting the use of ConfigParser()
|
||||||
with large config files.
|
with large config files.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -329,7 +329,7 @@ PyMODINIT_FUNC PyInit__sqlite3(void)
|
||||||
(pysqlite_statement_setup_types() < 0) ||
|
(pysqlite_statement_setup_types() < 0) ||
|
||||||
(pysqlite_prepare_protocol_setup_types() < 0)
|
(pysqlite_prepare_protocol_setup_types() < 0)
|
||||||
) {
|
) {
|
||||||
Py_DECREF(module);
|
Py_XDECREF(module);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue