diff options
author | Pavel Březina <pbrezina@redhat.com> | 2013-09-10 14:09:08 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-09-10 17:42:43 +0200 |
commit | f8817e0373448f092ec7a8147443f4172eb03b87 (patch) | |
tree | 590d824930d2929ec4fa0dfb649bdaf279d299c3 /src | |
parent | 9c393e2c39e8d3a00a1ba399a80c4c3291857242 (diff) | |
download | sssd-f8817e0373448f092ec7a8147443f4172eb03b87.tar.gz sssd-f8817e0373448f092ec7a8147443f4172eb03b87.tar.xz sssd-f8817e0373448f092ec7a8147443f4172eb03b87.zip |
is_dn(): free dn
Diffstat (limited to 'src')
-rw-r--r-- | src/providers/ldap/sdap_async_netgroups.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/providers/ldap/sdap_async_netgroups.c b/src/providers/ldap/sdap_async_netgroups.c index 12715d491..18f6e26ec 100644 --- a/src/providers/ldap/sdap_async_netgroups.c +++ b/src/providers/ldap/sdap_async_netgroups.c @@ -33,6 +33,8 @@ bool is_dn(const char *str) LDAPDN dn; ret = ldap_str2dn(str, &dn, LDAP_DN_FORMAT_LDAPV3); + ldap_dnfree(dn); + return (ret == LDAP_SUCCESS ? true : false); } |