aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/ldap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ldap.c b/lib/ldap.c
index 44029503f..27bccdc7c 100644
--- a/lib/ldap.c
+++ b/lib/ldap.c
@@ -350,8 +350,8 @@ CURLcode Curl_ldap(struct connectdata *conn)
Curl_client_write(data, CLIENTWRITE_BODY, (char *)"\n", 1);
(*ldap_memfree)(attribute);
- (*ldap_memfree)(dn);
}
+ (*ldap_memfree)(dn);
if (ber)
(*ber_free)(ber, 0);
}