diff --git a/daemon/remote.c b/daemon/remote.c index 35411f150f..4b89df3f39 100644 --- a/daemon/remote.c +++ b/daemon/remote.c @@ -4212,6 +4212,8 @@ cleanup: virStorageVolFree(vols[i]); VIR_FREE(vols); } + if (pool) + virStoragePoolFree(pool); return rv; }