mirror of
https://git.proxmox.com/git/mirror_corosync
synced 2025-08-15 15:23:48 +00:00
Remove use after free in corosync_main_config_set in error path
Signed-off-by: Steven Dake <sdake@redhat.com> Reviewed-by: Jan Friesse <jfriesse@redhat.com>
This commit is contained in:
parent
c6c76cdf82
commit
46a2b1a297
@ -222,7 +222,6 @@ static int corosync_main_config_format_set (
|
||||
return (0);
|
||||
|
||||
parse_error:
|
||||
free(value);
|
||||
*error_string = error_reason;
|
||||
|
||||
return (-1);
|
||||
|
Loading…
Reference in New Issue
Block a user