summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'util.c')
-rw-r--r--util.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/util.c b/util.c
index 51b7cd6..7e2b82c 100644
--- a/util.c
+++ b/util.c
@@ -99,8 +99,6 @@ int py_str_as_str(PyObject *py_str, char **outstr)
}
err_out:
- if (py_str)
- Py_XDECREF(py_str);
if (py_encstr)
Py_XDECREF(py_encstr);