[libvirt] [PATCH 2/5] commandtest: Resolve some coverity resource leaks