From a3bc2bbe6382b9613a23cab87c1c4b96147b7512 Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Sat, 27 Mar 1999 16:51:05 +0000 Subject: [PATCH] free() -> ldap_memfree() change --- contrib/saucer/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- 2.39.5