diff --git a/src/phyp/phyp_driver.c b/src/phyp/phyp_driver.c index cac5642afd..6e2fff8ac2 100644 --- a/src/phyp/phyp_driver.c +++ b/src/phyp/phyp_driver.c @@ -2031,6 +2031,7 @@ phypStorageVolCreateXML(virStoragePoolPtr pool, goto err; VIR_FREE(key); + virStoragePoolDefFree(spdef); return vol;