mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-25 00:02:53 -05:00
Use ldap_memfree() instead of free().
This commit is contained in:
parent
a2aa1c38ec
commit
66f145da21
1 changed files with 2 additions and 2 deletions
|
|
@ -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 a new issue