aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/doc
diff options
context:
space:
mode:
authorDavid M. Syzdek <syzdek@bindlebinaries.com>2019-10-07 11:48:06 -0800
committerDavid M. Syzdek <syzdek@bindlebinaries.com>2019-10-07 11:48:06 -0800
commit1354c8ccbfdb45363c24c7fbded4dc7c73f6e9ab (patch)
tree207ccc2e87ec3d9968c566781be7732af81569d1 /doc
parent18be011607f386fa44cf78d17552b6129b1d2369 (diff)
downloadldap-utils-1354c8ccbfdb45363c24c7fbded4dc7c73f6e9ab.tar.gz
ldap-utils-1354c8ccbfdb45363c24c7fbded4dc7c73f6e9ab.tar.bz2
ldap-utils-1354c8ccbfdb45363c24c7fbded4dc7c73f6e9ab.tar.xz
ldap-utils-1354c8ccbfdb45363c24c7fbded4dc7c73f6e9ab.zip
Replacing ldap_dnfree() with ldap_memfree()
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))