diff --git a/daemon/remote.c b/daemon/remote.c index 45c50f316f..37f998f793 100644 --- a/daemon/remote.c +++ b/daemon/remote.c @@ -4229,6 +4229,8 @@ cleanup: virStorageVolFree(vols[i]); VIR_FREE(vols); } + if (pool) + virStoragePoolFree(pool); return rv; }