8000 Remove unneeded self->db = NULL · python/cpython@f5d9873 · GitHub
[go: up one dir, main page]

Skip to content

Commit f5d9873

Browse files
author
Erlend E. Aasland
committed
Remove unneeded self->db = NULL
1 parent ca870ac commit f5d9873

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Modules/_sqlite/connection.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,6 @@ pysqlite_connection_dealloc(pysqlite_Connection *self)
267267
/* Clean up if user has not called .close() explicitly. */
268268
if (self->db) {
269269
sqlite3_close_v2(self->db);
270-
self->db = NULL;
271270
}
272271

273272
tp->tp_free(self);

0 commit comments

Comments
 (0)
0