X-Git-Url: https://sigrok.org/gitweb/?p=libsigrokdecode.git;a=blobdiff_plain;f=util.c;h=7e2b82cbad13ed1d0b043a0490391cee2648f76f;hp=51b7cd685c4a36d6505b79c0a839e14002fc71b9;hb=21481b6609641fb3076290dad915a3a6259ce05a;hpb=451680f192b97d652fb02186f5201efa0d668a2a 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);