mirror of
https://github.com/moparisthebest/curl
synced 2025-03-11 07:39:50 -04:00
ldap: Fix memory leak from commit 3a805c5cc1
This commit is contained in:
parent
c37dcf0edb
commit
4113ad50e4
@ -842,6 +842,8 @@ static int _ldap_url_parse2 (const struct connectdata *conn, LDAPURLDesc *ludp)
|
|||||||
|
|
||||||
ludp->lud_attrs_dups++;
|
ludp->lud_attrs_dups++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Curl_safefree(attributes);
|
||||||
}
|
}
|
||||||
|
|
||||||
p = q;
|
p = q;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user