diff options
| author | David M. Syzdek <syzdek@bindlebinaries.com> | 2019-10-07 11:48:06 -0800 |
|---|---|---|
| committer | David M. Syzdek <syzdek@bindlebinaries.com> | 2019-10-07 11:48:06 -0800 |
| commit | 1354c8ccbfdb45363c24c7fbded4dc7c73f6e9ab (patch) | |
| tree | 207ccc2e87ec3d9968c566781be7732af81569d1 /doc/references | |
| parent | 18be011607f386fa44cf78d17552b6129b1d2369 (diff) | |
| download | ldap-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/references')
| -rw-r--r-- | doc/references/libldap/ldap_search_ext.c | 2 |
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)) |
