[libvirt] [PATCH] Fix leaks in vircapstest