]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: flt_spoe: deinit spoe agent proxy upon agent release
authorAurelien DARRAGON <adarragon@haproxy.com>
Thu, 10 Apr 2025 14:57:58 +0000 (16:57 +0200)
committerAurelien DARRAGON <adarragon@haproxy.com>
Thu, 10 Apr 2025 20:10:31 +0000 (22:10 +0200)
commitf3b231714f9c200abf8b0d99afca53f13cd3dc87
tree63a48a392258cbd3bbe9f9ab961ca5540a43c919
parent8a944d0e46e3c9bf4132a5899a505e83f5586d47
MINOR: flt_spoe: deinit spoe agent proxy upon agent release

Even though spoe agent proxy is statically allocated, it uses the proxy
API and is initialized like a regular proxy, thus specific cleanup is
required upon release. This is not tagged as a bug because as of now this
would only cause some minor memory leak upon deinit.

We check the presence of proxy->id to know if it was initialized since
we cannot rely on a pointer for that.
src/flt_spoe.c