[libvirt] [PATCH] Fix Memory Leak in testGetCaps()