[libvirt] [PATCH] qemu: avoid memory leaks