projects
/
haproxy-3.0.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c701db
)
BUG/MINOR: ring: release the backing store name on exit
author
Willy Tarreau
<w@1wt.eu>
Thu, 26 Jan 2023 14:34:31 +0000
(15:34 +0100)
committer
Willy Tarreau
<w@1wt.eu>
Thu, 26 Jan 2023 14:49:31 +0000
(15:49 +0100)
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.
src/sink.c
patch
|
blob
|
history
diff --git
a/src/sink.c
b/src/sink.c
index
0aae5f2
..
e8d0005
100644
(file)
--- 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);