From: Erlend Egeberg Aasland Date: Mon, 28 Dec 2020 02:09:26 +0000 (+0100) Subject: bpo-1635741: sqlite3: Fix ref leak introduced by commit bf64d90 (GH-23972) X-Git-Tag: v3.10.0a4~61 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=897387d2c8a956e74770c6bdd0447dfec61e8e27;p=thirdparty%2FPython%2Fcpython.git bpo-1635741: sqlite3: Fix ref leak introduced by commit bf64d90 (GH-23972) --- diff --git a/Modules/_sqlite/connection.c b/Modules/_sqlite/connection.c index 46717acf7c7d..5c7b4eeae6ae 100644 --- a/Modules/_sqlite/connection.c +++ b/Modules/_sqlite/connection.c @@ -891,7 +891,6 @@ pysqlite_connection_create_aggregate_impl(pysqlite_Connection *self, return NULL; } - Py_INCREF(aggregate_class); rc = sqlite3_create_function_v2(self->db, name, n_arg,