From: Willy Tarreau Date: Thu, 26 Jan 2023 14:34:31 +0000 (+0100) Subject: BUG/MINOR: ring: release the backing store name on exit X-Git-Tag: v2.8-dev3~88 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b91910955a449fbd1feec405ad9da921e00ee9a5;p=thirdparty%2Fhaproxy.git BUG/MINOR: ring: release the backing store name on exit ASAN found that a ring equipped with a backing store did not release the store name on exit. This should be backported to 2.7. --- diff --git a/src/sink.c b/src/sink.c index 0aae5f2a7e..e8d00059e6 100644 --- a/src/sink.c +++ b/src/sink.c @@ -1398,6 +1398,7 @@ static void sink_deinit() msync(area, size, MS_SYNC); munmap(area, size); + ha_free(&sink->store); } else ring_free(sink->ctx.ring);