commit | 46922d2a3aff5122253d97e64500801c08f4f2c0 | [log] [tgz] |
---|---|---|
author | Lv Zheng <lv.zheng@intel.com> | Wed Sep 07 16:50:14 2016 +0800 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Sat Sep 10 02:33:49 2016 +0200 |
tree | 4417cc9c60cd932e592a9940a6c0cbb7dca4eac9 | |
parent | 72c77b7ea9ce781f4987840984a462e4456ba98e [diff] |
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>