diff options
author | 2016-09-07 16:50:14 +0800 | |
---|---|---|
committer | 2016-09-10 02:33:49 +0200 | |
commit | 46922d2a3aff5122253d97e64500801c08f4f2c0 (patch) | |
tree | 4417cc9c60cd932e592a9940a6c0cbb7dca4eac9 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | ACPI / EC: Cleanup first_ec/boot_ec code (diff) | |
download | linux-dev-46922d2a3aff5122253d97e64500801c08f4f2c0.tar.xz linux-dev-46922d2a3aff5122253d97e64500801c08f4f2c0.zip |
ACPI / EC: Fix a memory leakage issue in acpi_ec_add()
When the handler installation failed, there was no code to free the
allocated EC device. This patch fixes this memory leakage issue.
Link: https://bugzilla.kernel.org/show_bug.cgi?id=115021
Reported-and-tested-by: Luya Tshimbalanga <luya@fedoraproject.org>
Tested-by: Jonh Henderson <jw.hendy@gmail.com>
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions