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 af1281e commit bd9d775Copy full SHA for bd9d775
src/cxoTransform.c
@@ -839,8 +839,6 @@ PyObject *cxoTransform_toPython(cxoTransformNum transformNum,
839
if (transformNum == CXO_TRANSFORM_INT &&
840
memchr(bytes->ptr, '.', bytes->length) == NULL) {
841
result = PyNumber_Long(stringObj);
842
- Py_DECREF(stringObj);
843
- return result;
844
} else if (transformNum == CXO_TRANSFORM_DECIMAL) {
845
result = PyObject_CallFunctionObjArgs(
846
(PyObject*) cxoPyTypeDecimal, stringObj, NULL);
0 commit comments