On Fri, Aug 05, 2016 at 12:23:45PM +0400, marcandre.lur...@redhat.com wrote: > From: Marc-André Lureau <marcandre.lur...@redhat.com> > > Hi, > > Thanks to AddressSanitizer (ASAN), I found a number of direct leaks > worth fixing. Note that there are probably many indirect leaks left (I > am adding some here), I haven't investigated much yet. > > There are still a number of direct leaks remaining, in particular in > the tests, but my libc doesn't give me good backtraces. > > In order to easily switch to asan-enabled build, I make use of make > CFLAGS argument, which is why the first patch is also there.
FWIW, you could probably use ./configure --extra-cflags="....." which is the currently supported way to inject extra custom flags into $CFLAGS. Regards, Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|