diff --git a/src/test/test_driver.c b/src/test/test_driver.c index 18792bc974daea6e2427e0703fc5d4d01f1fc9de..102395637c60292fa33cbe59652e3fe567110916 100644 --- a/src/test/test_driver.c +++ b/src/test/test_driver.c @@ -4439,6 +4439,12 @@ testStoragePoolCreateXML(virConnectPtr conn, pool = NULL; goto cleanup; } + + /* *SetDefaults fills this in for the persistent pools, but this + * would be a transient pool so remove it; otherwise, the Destroy + * code will not Remove the pool */ + VIR_FREE(pool->configFile); + pool->active = 1; event = virStoragePoolEventLifecycleNew(pool->def->name, pool->def->uuid,