提交 7020ffc0 编写于 作者: D Daniel P. Berrange

Fix leak in SCSI storage backend

The SCSI storage backend leaks a string containing the pathname
for each block device it discovers

* src/storage/storage_backend_scsi.c: Free the device name
上级 c7a6fc37
......@@ -455,6 +455,7 @@ processLU(virStoragePoolObjPtr pool,
VIR_FREE(type_path);
out:
VIR_FREE(block_device);
return retval;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册