提交 2567fac4 编写于 作者: D Daniel P. Berrange

Don't free storage volume in cleanup path, since it may still be referenced

上级 aad68731
Mon Mar 16 10:30:00 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
* 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 <berrange@redhat.com>
Avoid harmless warning message
......
......@@ -1296,7 +1296,6 @@ storageVolumeDelete(virStorageVolPtr obj,
ret = 0;
cleanup:
virStorageVolDefFree(vol);
if (pool)
virStoragePoolObjUnlock(pool);
return ret;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册