Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca67412 commit e871ad5Copy full SHA for e871ad5
1 file changed
Modules/_sqlite/cursor.c
@@ -355,9 +355,9 @@ PyObject* _pysqlite_fetch_one_row(pysqlite_Cursor* self)
355
error_obj = PyUnicode_FromEncodedObject(buf_bytes, "ascii", "replace");
356
if (!error_obj) {
357
PyErr_SetString(pysqlite_OperationalError, "Could not decode to UTF-8");
358
- Py_DECREF(error_obj);
359
} else {
360
PyErr_SetObject(pysqlite_OperationalError, error_obj);
+ Py_DECREF(error_obj);
361
}
362
Py_DECREF(buf_bytes);
363
0 commit comments