[libvirt PATCH 4/4] testUpdateQEMUCaps: Fix memory leak