[libvirt] [PATCH 3/3] qemu_capabilities: Resolve Coverity RESOURCE_LEAK