commit | b91910955a449fbd1feec405ad9da921e00ee9a5 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu Jan 26 15:34:31 2023 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Thu Jan 26 15:49:31 2023 +0100 |
tree | a1e248481b253d318792950936c6595efdc2cdac | |
parent | 2c701dbc0764157aa74dd90ed9a4c1133ddce97b [diff] [blame] |
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 0aae5f2..e8d0005 100644 --- a/src/sink.c +++ b/src/sink.c
@@ -1398,6 +1398,7 @@ msync(area, size, MS_SYNC); munmap(area, size); + ha_free(&sink->store); } else ring_free(sink->ctx.ring);