Re: [libvirt] [PATCH] bhyve: fix memory leaks in bhyvexml2argvtest

2016-11-15 Thread Roman Bogorodskiy
Laine Stump wrote: > On 11/13/2016 05:03 AM, Roman Bogorodskiy wrote: > > * virNetDevTapCreateInBridgePort() mock: free '*ifname' before > > strdupping a hardoded value to it > > * testCompareXMLToArgvFiles(): unref 'conn' object in cleanup > > * testCompareXMLToArgvHelper(): free

Re: [libvirt] [PATCH] bhyve: fix memory leaks in bhyvexml2argvtest

2016-11-14 Thread Laine Stump
On 11/13/2016 05:03 AM, Roman Bogorodskiy wrote: * virNetDevTapCreateInBridgePort() mock: free '*ifname' before strdupping a hardoded value to it * testCompareXMLToArgvFiles(): unref 'conn' object in cleanup * testCompareXMLToArgvHelper(): free 'ldargs' and 'dmargs' in cleanup ---

[libvirt] [PATCH] bhyve: fix memory leaks in bhyvexml2argvtest

2016-11-13 Thread Roman Bogorodskiy
* virNetDevTapCreateInBridgePort() mock: free '*ifname' before strdupping a hardoded value to it * testCompareXMLToArgvFiles(): unref 'conn' object in cleanup * testCompareXMLToArgvHelper(): free 'ldargs' and 'dmargs' in cleanup --- tests/bhyvexml2argvmock.c | 2 ++