diff --git a/ChangeLog b/ChangeLog index a84e2b4b33..48d4f8fbbe 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Mon Mar 16 10:30:00 GMT 2009 Daniel P. Berrange + + * src/storage_driver.c: Don't free storage volume in error + path, since it may still be referenced elsewhere + Mon Mar 16 10:29:00 GMT 2009 Daniel P. Berrange Avoid harmless warning message diff --git a/src/storage_driver.c b/src/storage_driver.c index f1320c5be7..b2618436da 100644 --- a/src/storage_driver.c +++ b/src/storage_driver.c @@ -1296,7 +1296,6 @@ storageVolumeDelete(virStorageVolPtr obj, ret = 0; cleanup: - virStorageVolDefFree(vol); if (pool) virStoragePoolObjUnlock(pool); return ret;