summaryrefslogtreecommitdiffstats
path: root/src/python
diff options
context:
space:
mode:
Diffstat (limited to 'src/python')
-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;