mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-10-28 23:20:59 +01:00
BUG/MINOR: ssl: leak crtlist_name in ssl-f-use
This patch fixes a leak of the temporary variable "crtlist_name" which is used in the ssl-f-use parser. Must be backported in 3.2.
This commit is contained in:
parent
d9365a88a5
commit
47a93dc750
@ -2483,7 +2483,8 @@ static int post_section_frontend_crt_init()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return err_code;
|
goto end;
|
||||||
|
|
||||||
error:
|
error:
|
||||||
|
|
||||||
if (err)
|
if (err)
|
||||||
@ -2499,9 +2500,11 @@ error:
|
|||||||
ha_free(&n);
|
ha_free(&n);
|
||||||
}
|
}
|
||||||
|
|
||||||
ha_free(&crtlist_name);
|
|
||||||
crtlist_entry_free(entry);
|
crtlist_entry_free(entry);
|
||||||
crtlist_free(newlist);
|
crtlist_free(newlist);
|
||||||
|
|
||||||
|
end:
|
||||||
|
ha_free(&crtlist_name);
|
||||||
return err_code;
|
return err_code;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user