You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the documentation, PyModule_AddObject() only decrements the reference count of value on success. The calling code must PyDECREF() manually on error.
This issue could probably be expanded to the whole Modules directory. A lot of the modules fail to clean up properly on PyModule_AddObject() error.
erlend-aasland
changed the title
Handle PyModule_AddObject() error correctly in sqlite3
Fix possible reference leak for sqlite3 initialization
May 25, 2020
erlend-aasland
changed the title
Handle PyModule_AddObject() error correctly in sqlite3
Fix possible reference leak for sqlite3 initialization
May 25, 2020
New changeset 5eb45d7 by Erlend Egeberg Aasland in branch 'master': bpo-40737: Fix possible reference leak for sqlite3 initialization (GH-20323) 5eb45d7
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: