Skip to content

Commit 897387d

Browse files
author
Erlend Egeberg Aasland
authored
bpo-1635741: sqlite3: Fix ref leak introduced by commit bf64d90 (GH-23972)
1 parent abba83b commit 897387d

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
@@ -891,7 +891,6 @@ pysqlite_connection_create_aggregate_impl(pysqlite_Connection *self,
891891
return NULL;
892892
}
893893

894-
Py_INCREF(aggregate_class);
895894
rc = sqlite3_create_function_v2(self->db,
896895
name,
897896
n_arg,

0 commit comments

Comments
 (0)