diff --git a/daemon/remote.c b/daemon/remote.c index 51dbd015ec5ddc630a42d6e31fcc52b0feed8760..b2f9b7a158651cd862e398e82f633a0615997e0e 100644 --- a/daemon/remote.c +++ b/daemon/remote.c @@ -4233,6 +4233,8 @@ cleanup: virStorageVolFree(vols[i]); VIR_FREE(vols); } + if (pool) + virStoragePoolFree(pool); return rv; }