fix realloc bug

This commit is contained in:
Pierangelo Masarati 2001-12-28 15:28:10 +00:00
parent cd8eb327d6
commit 9dab474fa4

View File

@ -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;