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:37:26 +0200 |
commit | 114c1ed8ec72b43f04527b4f3b4f0940c1fb2c54 (patch) | |
tree | c2bb876f96b020f98f0c65b7b1b8465b1b913cea /src | |
parent | c1f94194a9fee8582a0af3b151b4f2b14fa1019a (diff) | |
download | sssd-114c1ed8ec72b43f04527b4f3b4f0940c1fb2c54.tar.gz sssd-114c1ed8ec72b43f04527b4f3b4f0940c1fb2c54.tar.bz2 sssd-114c1ed8ec72b43f04527b4f3b4f0940c1fb2c54.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 265fcf0e..81e53c84 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); } |