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 9e954fb9878592c742bfee3ba20b50bb59e68947
2 changes: 1 addition & 1 deletion Modules/_sqlite/module.c
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ PyMODINIT_FUNC PyInit__sqlite3(void)
return NULL;
}

ADD_OBJECT(module, "Connection", pysqlite_ConnectionType);
ADD_TYPE(module, pysqlite_ConnectionType);
ADD_OBJECT(module, "Cursor", pysqlite_CursorType);
ADD_OBJECT(module, "PrepareProtocol", pysqlite_PrepareProtocolType);
ADD_OBJECT(module, "Row", pysqlite_RowType);
Expand Down
0