diff options
author | Lv Zheng <lv.zheng@intel.com> | 2016-09-07 10:50:14 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-09-10 02:33:49 +0200 |
commit | 46922d2a3aff5122253d97e64500801c08f4f2c0 (patch) | |
tree | 4417cc9c60cd932e592a9940a6c0cbb7dca4eac9 /.mailmap | |
parent | ACPI / EC: Cleanup first_ec/boot_ec code (diff) | |
download | linux-46922d2a3aff5122253d97e64500801c08f4f2c0.tar.xz linux-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 '.mailmap')
0 files changed, 0 insertions, 0 deletions