]> git.sur5r.net Git - openldap/commitdiff
free() -> ldap_memfree() change
authorHallvard Furuseth <hallvard@openldap.org>
Sat, 27 Mar 1999 16:51:05 +0000 (16:51 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Sat, 27 Mar 1999 16:51:05 +0000 (16:51 +0000)
contrib/saucer/main.c

index e374e84a83b9bc95f78ebb3c4f77e4ea0077004f..8d866dcd44faee7e9e71c8651ccd063decf41523 100644 (file)
@@ -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 */