diff options
| author | Axel Lin <axel.lin@gmail.com> | 2010-05-21 17:10:33 +0800 |
|---|---|---|
| committer | Matthew Garrett <mjg@redhat.com> | 2010-08-03 09:48:40 -0400 |
| commit | 4b30fbca4f64bc70c59867ad5769c37efb587ff4 (patch) | |
| tree | 8611f640ba3f855935f0be5f0ea2aa1c0b77e86e /tools/perf/scripts/python | |
| parent | 9fe6206f400646a2322096b56c59891d530e8d51 (diff) | |
intel_menlow: fix memory leaks in error path
This patch includes below fixes in error path:
1. fix a memory leak if device_create_file failed in
intel_menlow_add_one_attribute
2. properly free added attributes before return error in
intel_menlow_register_sensor error handler
3. properly call acpi_bus_unregister_driver before return error in
intel_menlow_module_init
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
