Commit 9dab474f authored by Pierangelo Masarati's avatar Pierangelo Masarati
Browse files

fix realloc bug

parent cd8eb327
......@@ -874,6 +874,11 @@ rdn_attrs( const char * rdn, char ***types, char ***values)
assert( rdn );
assert( values );
if ( types ) {
*types = NULL;
}
*values = NULL;
rc = ldap_str2rdn( rdn, &tmpRDN, &p, LDAP_DN_FORMAT_LDAP );
if ( rc != LDAP_SUCCESS ) {
return rc;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment