Re: [PATCH] Plug test-related leaks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jan 29, 2008 at 11:44:50AM +0100, Jim Meyering wrote:
> Once I had a static "virsh" binary, I ran this:
> 
>     cd src && valgrind --leak-check=full ./virsh --connect \
>       test://$PWD/../docs/testnode.xml list
> 
> which exposed some leaks.
> I fixed them like this:
> 
> 	Plug test-related leaks.
> 	* src/test.c (testLoadNetwork): Free forwardDev.
> 	(testLoadDomain): Free ctxt.
> 	(testLoadNetwork): Likewise.
> 	(testOpenFromFile): Likewise.

ACK.  looks good.

Dan,
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]