summaryrefslogtreecommitdiffstats
path: root/src/python/pyhbac.c
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2011-07-26 11:00:04 +0200
committerStephen Gallagher <sgallagh@redhat.com>2011-08-01 12:18:34 -0400
commitd5278883effef0c96f3fd3032da1335fdf1613d7 (patch)
treef8604a91e1b410badce3dadde7aee884beda900b /src/python/pyhbac.c
parent833eda9de40ad28e966f8f883dba8e187f8efd32 (diff)
downloadsssd-d5278883effef0c96f3fd3032da1335fdf1613d7.tar.gz
sssd-d5278883effef0c96f3fd3032da1335fdf1613d7.tar.xz
sssd-d5278883effef0c96f3fd3032da1335fdf1613d7.zip
Remove dead code from python HBAC bindings
https://fedorahosted.org/sssd/ticket/935
Diffstat (limited to 'src/python/pyhbac.c')
-rw-r--r--src/python/pyhbac.c4
1 files changed, 0 insertions, 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;