diff --git a/src/cursor.cpp b/src/cursor.cpp index 5d7d80a4..08002453 100644 --- a/src/cursor.cpp +++ b/src/cursor.cpp @@ -873,8 +873,6 @@ static PyObject* execute(Cursor* cur, PyObject* pSql, PyObject* params, bool ski Py_XDECREF(prevParam->pObject); newParam.BufferLength = newParam.StrLen_or_Ind; newParam.StrLen_or_Ind = SQL_DATA_AT_EXEC; - Py_INCREF(cell); - newParam.pObject = cell; *prevParam = newParam; if(prevParam->ParameterValuePtr == &newParam.Data) {