提交 8410c6a0 编写于 作者: H Hanjun Guo 提交者: Yang Yingliang

tty/amba-pl011: Call acpi_put_table() to fix memory leak

hulk inclusion
category: bugfix
bugzilla: NA
CVE: NA

----------------------------------------

acpi_get_table() should be coupled with acpi_put_table(), or
it will leat to memory leak, fix the memory leak to call
acpi_put_table().
Signed-off-by: NHanjun Guo <guohanjun@huawei.com>
Reviewed-by: NXiongfeng Wang <wangxiongfeng2@huawei.com>
Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
上级 0f3aeca9
......@@ -1523,6 +1523,8 @@ static void pl011_check_hisi_workaround(void)
break;
}
}
acpi_put_table(tbl);
}
#else
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册