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 c38fd0d commit 1f44e77Copy full SHA for 1f44e77
1 file changed
Modules/_sqlite/cursor.c
@@ -611,7 +611,6 @@ static PyObject *
611
pysqlite_cursor_executescript(pysqlite_Cursor* self, PyObject* args)
612
{
613
PyObject* script_obj;
614
- PyObject* script_str = NULL;
615
const char* script_cstr;
616
sqlite3_stmt* statement;
617
int rc;
@@ -685,8 +684,6 @@ pysqlite_cursor_executescript(pysqlite_Cursor* self, PyObject* args)
685
684
}
686
687
error:
688
- Py_XDECREF(script_str);
689
-
690
if (PyErr_Occurred()) {
691
return NULL;
692
} else {
0 commit comments