From 7b14cee1e2b43738a13108180dee73a08cbde87b Mon Sep 17 00:00:00 2001 From: Bert Vermeulen Date: Mon, 16 Jan 2012 05:01:05 +0100 Subject: srd: don't decref an object we don't own --- util.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'util.c') 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); -- cgit v1.2.3-70-g09d2