Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Prev Previous commit
Next Next commit
Corrected error handling.
  • Loading branch information
felixxm committed Jan 24, 2024
commit f09fa463199eda25aee964b06a1292864c0c187a
2 changes: 1 addition & 1 deletion Modules/_sqlite/connection.c
Original file line number Diff line number Diff line change
Expand Up @@ -2018,11 +2018,11 @@ pysqlite_connection_iterdump_impl(pysqlite_Connection *self,

PyObject *retval = PyObject_Vectorcall(iterdump, args, 1, kwnames);
Comment thread
erlend-aasland marked this conversation as resolved.
Outdated
Comment thread
erlend-aasland marked this conversation as resolved.
Outdated
Py_DECREF(iterdump);
Py_DECREF(kwnames);
return retval;

error:
Py_DECREF(iterdump);
Py_DECREF(args);
Py_XDECREF(kwnames);
return NULL;
}
Expand Down