diff options
author | Pavel Reichl <preichl@redhat.com> | 2015-08-24 07:05:00 -0400 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2015-08-31 18:36:34 +0200 |
commit | f31a57321fc0a2390bb0d6030053c49787e5e587 (patch) | |
tree | 74ca6dc4d5ce765a41d4a3cf4407c7fa33317765 | |
parent | 9f0bffebd070115ab47a92eadc6890a721c7b78d (diff) | |
download | sssd-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.c | 1 |
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 */ |