summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErlend Egeberg Aasland <erlend.aasland@innova.no>2020-12-28 02:09:26 (GMT)
committerGitHub <noreply@github.com>2020-12-28 02:09:26 (GMT)
commit897387d2c8a956e74770c6bdd0447dfec61e8e27 (patch)
tree3aaf8f86aa5a0752349281a1660f3082acd6eccc
parentabba83b4b91f78dc556dc0b7700ecb46cba22c01 (diff)
downloadcpython-897387d2c8a956e74770c6bdd0447dfec61e8e27.zip
cpython-897387d2c8a956e74770c6bdd0447dfec61e8e27.tar.gz
cpython-897387d2c8a956e74770c6bdd0447dfec61e8e27.tar.bz2
bpo-1635741: sqlite3: Fix ref leak introduced by commit bf64d90 (GH-23972)
-rw-r--r--Modules/_sqlite/connection.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/Modules/_sqlite/connection.c b/Modules/_sqlite/connection.c
index 46717ac..5c7b4ee 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,