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:
Willy Tarreau 2023-01-26 15:34:31 +01:00
parent 2c701dbc07
commit b91910955a

View File

@ -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);