Fix CID 11024: Resource leak
https://fedorahosted.org/freeipa/ticket/2037
This commit is contained in:
1 parent
bc3fb1b3a0
commit
ea10ad1851
1 file changed
+1
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user