From d5278883effef0c96f3fd3032da1335fdf1613d7 Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Tue, 26 Jul 2011 11:00:04 +0200 Subject: Remove dead code from python HBAC bindings https://fedorahosted.org/sssd/ticket/935 --- src/python/pyhbac.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/python/pyhbac.c b/src/python/pyhbac.c index 4c606dd64..2ff21b934 100644 --- a/src/python/pyhbac.c +++ b/src/python/pyhbac.c @@ -257,10 +257,6 @@ str_concat_sequence(PyObject *seq, const char *delim) if (s == NULL) goto fail; } Py_DECREF(item); - if (s == NULL) { - PyErr_NoMemory(); - goto fail; - } } return s; -- cgit