Re: [libvirt] [PATCHv2] network: Avoid memory leaks on networkBuildDnsmasqArgv

2012-01-19 Thread Eric Blake
On 01/18/2012 03:04 AM, a...@redhat.com wrote: From: Alex Jia a...@redhat.com Detected by valgrind. Leaks introduced in commit 973af236. * src/network/bridge_driver.c: fix memory leaks on failure and successful path. * How to reproduce? % make -C tests check TESTS=networkxml2argvtest

[libvirt] [PATCHv2] network: Avoid memory leaks on networkBuildDnsmasqArgv

2012-01-18 Thread ajia
From: Alex Jia a...@redhat.com Detected by valgrind. Leaks introduced in commit 973af236. * src/network/bridge_driver.c: fix memory leaks on failure and successful path. * How to reproduce? % make -C tests check TESTS=networkxml2argvtest % cd tests valgrind -v --leak-check=full