summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--type_decoder.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/type_decoder.c b/type_decoder.c
index aa92c3b..16e25a7 100644
--- a/type_decoder.c
+++ b/type_decoder.c
@@ -369,17 +369,11 @@ static PyObject *Decoder_put(PyObject *self, PyObject *args)
break;
}
- if (py_data)
- Py_DECREF(py_data);
-
PyGILState_Release(gstate);
Py_RETURN_NONE;
err:
- if (py_data)
- Py_DECREF(py_data);
-
PyGILState_Release(gstate);
return NULL;