]> git.sur5r.net Git - openldap/commitdiff
Use ldap_memfree() instead of free().
authorKurt Zeilenga <kurt@openldap.org>
Mon, 1 Mar 1999 21:17:48 +0000 (21:17 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Mon, 1 Mar 1999 21:17:48 +0000 (21:17 +0000)
clients/tools/ldapsearch.c

index dc1a319dd6c02b6af2f116463ec21c3438c7e653..b363035381ba5a736e7312ef2e08813c16f80f01 100644 (file)
@@ -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 ) ) {