[libvirt] [PATCH] Remove a couple of misplaced VIR_FREE

Eric Blake eblake at redhat.com
Wed Feb 20 18:11:58 UTC 2013


On 02/20/2013 11:01 AM, John Ferlan wrote:
> While working on the hellolibvirt example code, I stumbled across a
> couple extraneous VIR_FREE()'s in qemuStop(). I was looking at all
> callers of virConnectListAllDomains()...
> 
> ---
>  src/qemu/qemu_driver.c | 3 ---
>  1 file changed, 3 deletions(-)

ACK.  Generating this patch email with 'git send-email -U6' to expose
additional context (namely, that the very next two lines in cleanup: do
the same VIR_FREE) would have made review slightly easier; but that's a
trick which took me a while to learn.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130220/b53b3ee1/attachment-0001.sig>


More information about the libvir-list mailing list