Skip to content

Commit

Permalink
Removed refrence decrement in tuple construct.
Browse files Browse the repository at this point in the history
  • Loading branch information
9EOR9 committed Aug 5, 2021
1 parent 9ac0551 commit 1d201f1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion mariadb/mariadb_cursor.c
Original file line number Diff line number Diff line change
Expand Up @@ -1002,7 +1002,6 @@ MrdbCursor_parse(MrdbCursor *self, PyObject *args)
PyObject *key;
key= PyUnicode_FromString(parser->keys[i].str);
PyTuple_SetItem(tmp, i, key);
Py_DECREF(key);
}
self->parseinfo.keys= tmp;
}
Expand Down

0 comments on commit 1d201f1

Please sign in to comment.