From: Kurt Zeilenga Date: Mon, 1 Mar 1999 21:17:48 +0000 (+0000) Subject: Use ldap_memfree() instead of free(). X-Git-Tag: OPENLDAP_SLAPD_BACK_LDAP~532 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=66f145da2128c40bffb6a881b4263e7a5666e0e1;p=openldap Use ldap_memfree() instead of free(). --- diff --git a/clients/tools/ldapsearch.c b/clients/tools/ldapsearch.c index dc1a319dd6..b363035381 100644 --- a/clients/tools/ldapsearch.c +++ b/clients/tools/ldapsearch.c @@ -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 ) ) {