8000 bpo-40737: Fix possible reference leak for sqlite3 initialization by erlend-aasland · Pull Request #20323 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

bpo-40737: Fix possible reference leak for sqlite3 initialization #20323

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 15 commits into from
May 26, 2020
Prev Previous commit
Next Next commit
Update Modules/_sqlite/module.c
Co-authored-by: Dong-hee Na <donghee.na92@gmail.com>
  • Loading branch information
Erlend Egeberg Aasland and corona10 authored May 25, 2020
commit 37403bc0e9ac3e556cd82ae61d0914a859117204
2 changes: 1 addition & 1 deletion Modules/_sqlite/module.c
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ PyMODINIT_FUNC PyInit__sqlite3(void)
ADD_TYPE(module, pysqlite_ConnectionType);
ADD_TYPE(module, pysqlite_CursorType);
ADD_TYPE(module, pysqlite_PrepareProtocolType);
ADD_OBJECT(module, "Row", pysqlite_RowType);
ADD_TYPE(module, pysqlite_RowType);

if (!(dict = PyModule_GetDict(module))) {
goto error;
Expand Down
0