mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-01-26 16:16:31 -06:00
Fix CID 11024: Resource leak
https://fedorahosted.org/freeipa/ticket/2037
This commit is contained in:
parent
bc3fb1b3a0
commit
ea10ad1851
@ -128,6 +128,7 @@ static int ipadb_ldap_attr_to_tl_data(LDAP *lcontext, LDAPMessage *le,
|
||||
|
||||
done:
|
||||
if (ret) {
|
||||
free(next);
|
||||
if (*result) {
|
||||
prev = *result;
|
||||
while (prev) {
|
||||
|
Loading…
Reference in New Issue
Block a user