mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-18 11:05:48 +08:00
Use ldap_memfree() instead of free().
This commit is contained in:
parent
a2aa1c38ec
commit
66f145da21
@ -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 ) ) {
|
||||
|
Loading…
Reference in New Issue
Block a user