summaryrefslogtreecommitdiff
path: root/src/python
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2011-07-26 11:00:04 +0200
committerStephen Gallagher <sgallagh@redhat.com>2011-07-27 16:43:35 -0400
commit778d3b4ec69c0a8a59d3d23ebbf1e65a4ea286ef (patch)
treedb1f3d9688671155f7c9e68e8cb64e75ddcc4908 /src/python
parent804dc66b3a646938167ddeb34b011f3f3b6dfebc (diff)
downloadsssd-778d3b4ec69c0a8a59d3d23ebbf1e65a4ea286ef.tar.gz
sssd-778d3b4ec69c0a8a59d3d23ebbf1e65a4ea286ef.tar.bz2
sssd-778d3b4ec69c0a8a59d3d23ebbf1e65a4ea286ef.zip
Remove dead code from python HBAC bindings
https://fedorahosted.org/sssd/ticket/935
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 4c606dd6..2ff21b93 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;