summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Reichl <preichl@redhat.com>2015-08-24 07:05:00 -0400
committerJakub Hrozek <jhrozek@redhat.com>2015-08-31 18:36:34 +0200
commitf31a57321fc0a2390bb0d6030053c49787e5e587 (patch)
tree74ca6dc4d5ce765a41d4a3cf4407c7fa33317765
parent9f0bffebd070115ab47a92eadc6890a721c7b78d (diff)
downloadsssd-f31a57321fc0a2390bb0d6030053c49787e5e587.tar.gz
sssd-f31a57321fc0a2390bb0d6030053c49787e5e587.tar.xz
sssd-f31a57321fc0a2390bb0d6030053c49787e5e587.zip
LDAP: end on ENOMEM
Reviewed-by: Pavel Březina <pbrezina@redhat.com>
-rw-r--r--src/providers/ldap/ldap_id_cleanup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/providers/ldap/ldap_id_cleanup.c b/src/providers/ldap/ldap_id_cleanup.c
index 0a2b23297..0cbcf0479 100644
--- a/src/providers/ldap/ldap_id_cleanup.c
+++ b/src/providers/ldap/ldap_id_cleanup.c
@@ -466,6 +466,7 @@ get_group_dn_with_filter_sanitized_name(TALLOC_CTX *mem_ctx,
tmp_ctx = talloc_new(NULL);
if (tmp_ctx == NULL) {
ret = ENOMEM;
+ goto done;
}
/* sanitize group name */