Skip to content

Commit

Permalink
bpo-27334: Fix reference leak introduced by GH-26202 (GH-27942)
Browse files Browse the repository at this point in the history
  • Loading branch information
Erlend Egeberg Aasland authored Aug 25, 2021
1 parent 15d50d7 commit a3c11ce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Modules/_sqlite/connection.c
Original file line number Diff line number Diff line change
Expand Up @@ -1807,6 +1807,7 @@ pysqlite_connection_exit_impl(pysqlite_Connection *self, PyObject *exc_type,
_PyErr_ChainExceptions(exc, val, tb);
}
else {
Py_DECREF(result);
PyErr_Restore(exc, val, tb);
}
}
Expand Down

0 comments on commit a3c11ce

Please sign in to comment.