mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-03 08:05:03 -04:00
BUG/MINOR: ssl_ckch: Free error msg if commit changes on a CA/CRL entry fails
On the CLI, If we fail to commit changes on a CA or a CRL entry, an error message is returned. This error must be released. This patch must be backported as far as 2.4.
This commit is contained in:
parent
01a09e24ad
commit
4329dcc2fc
1 changed files with 1 additions and 0 deletions
|
|
@ -2941,6 +2941,7 @@ error:
|
|||
applet_putchk(appctx, trash);
|
||||
free_trash_chunk(trash);
|
||||
}
|
||||
free(err);
|
||||
/* error: call the release function and don't come back */
|
||||
return 1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue