[libvirt] [PATCH 3/6] remote: Resolve Coverity RESOURCE_LEAK