mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-01 12:39:35 -05:00
free() -> ldap_memfree() change
This commit is contained in:
parent
ac536906c5
commit
a3bc2bbe63
1 changed files with 1 additions and 1 deletions
|
|
@ -448,7 +448,7 @@ void display_search_results(LDAPMessage *result)
|
|||
for (entry = ldap_first_entry(ld, result); entry; entry = ldap_next_entry(ld, entry)) {
|
||||
if (s = ldap_get_dn(ld, entry)) {
|
||||
printf(" %s\n", s);
|
||||
free(s);
|
||||
ldap_memfree(s);
|
||||
}
|
||||
|
||||
/* Make one pass to calculate the length of the longest attribute name */
|
||||
|
|
|
|||
Loading…
Reference in a new issue