[libvirt] [PATCH v2 3/3] virnetdev: Resolve Coverity RESOURCE_LEAK