aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2015-01-04 20:06:04 +0000
committerSteve Holme <steve_holme@hotmail.com>2015-01-04 20:06:04 +0000
commit4113ad50e437d78e9818aa17f816c06c38f0a458 (patch)
treefa9a4df059a84c3954e2366df4559de1f8ae4919
parentc37dcf0edbc3d111b89de1d43b72a4bba7a37559 (diff)
ldap: Fix memory leak from commit 3a805c5cc1
-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;