diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2011-07-26 11:00:04 +0200 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2011-07-27 16:43:35 -0400 |
commit | 778d3b4ec69c0a8a59d3d23ebbf1e65a4ea286ef (patch) | |
tree | db1f3d9688671155f7c9e68e8cb64e75ddcc4908 /src/python/pyhbac.c | |
parent | 804dc66b3a646938167ddeb34b011f3f3b6dfebc (diff) | |
download | sssd-778d3b4ec69c0a8a59d3d23ebbf1e65a4ea286ef.tar.gz sssd-778d3b4ec69c0a8a59d3d23ebbf1e65a4ea286ef.tar.xz sssd-778d3b4ec69c0a8a59d3d23ebbf1e65a4ea286ef.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.c | 4 |
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; |