mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-26 00:27:54 -04:00
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.
This commit is contained in:
parent
2c701dbc07
commit
b91910955a
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue