Use ldap_memfree() instead of free().

This commit is contained in:
Kurt Zeilenga 1999-03-01 21:17:48 +00:00
parent a2aa1c38ec
commit 66f145da21

View File

@ -450,9 +450,9 @@ void print_entry(
} else {
printf( "%s\n", ufn );
}
free( ufn );
ldap_memfree( ufn );
}
free( dn );
ldap_memfree( dn );
for ( a = ldap_first_attribute( ld, entry, &ber ); a != NULL;
a = ldap_next_attribute( ld, entry, ber ) ) {