aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/references/libldap/ldap_search_ext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/references/libldap/ldap_search_ext.c b/doc/references/libldap/ldap_search_ext.c
index dbfc270..613698f 100644
--- a/doc/references/libldap/ldap_search_ext.c
+++ b/doc/references/libldap/ldap_search_ext.c
@@ -183,7 +183,7 @@ int main(void)
183 { 183 {
184 dn = ldap_get_dn(ld, msg); 184 dn = ldap_get_dn(ld, msg);
185 printf("dn: %s\n", dn); 185 printf("dn: %s\n", dn);
186 ldap_dnfree(dn); 186 ldap_memfree(dn);
187 187
188 name = ldap_first_attribute(ld, msg, &ber); 188 name = ldap_first_attribute(ld, msg, &ber);
189 while((name)) 189 while((name))