From 4113ad50e437d78e9818aa17f816c06c38f0a458 Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Sun, 4 Jan 2015 20:06:04 +0000 Subject: [PATCH] ldap: Fix memory leak from commit 3a805c5cc1 --- lib/ldap.c | 2 ++ 1 file changed, 2 insertions(+) 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;