mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-09 08:37:04 +02: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
@ -1398,6 +1398,7 @@ static void sink_deinit()
|
|||||||
|
|
||||||
msync(area, size, MS_SYNC);
|
msync(area, size, MS_SYNC);
|
||||||
munmap(area, size);
|
munmap(area, size);
|
||||||
|
ha_free(&sink->store);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
ring_free(sink->ctx.ring);
|
ring_free(sink->ctx.ring);
|
||||||
|
Loading…
Reference in New Issue
Block a user