Skip to content
Snippets Groups Projects
Commit a3bc2bbe authored by Hallvard Furuseth's avatar Hallvard Furuseth
Browse files

free() -> ldap_memfree() change

parent ac536906
No related branches found
No related tags found
No related merge requests found
......@@ -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 */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment