From: Hallvard Furuseth Date: Sat, 27 Mar 1999 16:51:05 +0000 (+0000) Subject: free() -> ldap_memfree() change X-Git-Tag: OPENLDAP_SLAPD_BACK_LDAP~324 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a3bc2bbe6382b9613a23cab87c1c4b96147b7512;p=openldap free() -> ldap_memfree() change --- diff --git a/contrib/saucer/main.c b/contrib/saucer/main.c index e374e84a83..8d866dcd44 100644 --- a/contrib/saucer/main.c +++ b/contrib/saucer/main.c @@ -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 */