]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: acme: use acme_ctx_destroy() upon error
authorWilliam Lallemand <wlallemand@haproxy.com>
Wed, 30 Apr 2025 15:18:46 +0000 (17:18 +0200)
committerWilliam Lallemand <wlallemand@haproxy.com>
Wed, 30 Apr 2025 15:18:46 +0000 (17:18 +0200)
commit6462f183ada424a7f61cd31397b0f557bf387096
tree4a524a77494347997cd323aca84b09c15e3d065b
parentb8a52703344168692d1fef315abec32ea3c68194
MINOR: acme: use acme_ctx_destroy() upon error

Use acme_ctx_destroy() instead of a simple free() upon error in the
"acme renew" error handling.

It's better to use this function to be sure than everything has been
been freed.
src/acme.c