aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/ldap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/ldap.c b/lib/ldap.c
index f9b287cbf..96d8ac78f 100644
--- a/lib/ldap.c
+++ b/lib/ldap.c
@@ -842,6 +842,8 @@ static int _ldap_url_parse2 (const struct connectdata *conn, LDAPURLDesc *ludp)
ludp->lud_attrs_dups++;
}
+
+ Curl_safefree(attributes);
}
p = q;