Marc-André Lureau <marcandre.lur...@redhat.com> writes: > Hi, > > A new series of leaks spotted by ASAN. Mostly after introducing of the > test-hmp. Would it be useful having a configure --enable-asan, and
Yes. > enabled by default with --enable-debug? Not sure - isn't --enable-debug just for debug symbols and we enable extra stuff like --enable-tcg-debug for additional checking? Given the overhead of asan I still think we need a configure setup for reasonably debugable but still performant. > > Marc-André Lureau (5): > test-keyval: fix leaks > audio: fix capture buffer leaks > audio: fix WAVState leak > slirp: fix leak > dump: fix memory_mapping_filter leak > > audio/audio.c | 2 ++ > audio/wavcapture.c | 1 + > memory_mapping.c | 1 + > slirp/socket.c | 3 +++ > tests/test-keyval.c | 4 ++++ > 5 files changed, 11 insertions(+) -- Alex Bennée