diff options
author | Guenter Roeck <[email protected]> | 2012-03-12 08:33:10 -0700 |
---|---|---|
committer | Guenter Roeck <[email protected]> | 2012-03-12 12:41:44 -0700 |
commit | 32260d94408c553dca4ce54104edf79941a27536 (patch) | |
tree | 82af25451f893f2685ccd78df6a5fae90445da61 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 33fa9b620409edfc71aa6cf01a51f990fbe46ab8 (diff) |
hwmon: (w83627ehf) Fix memory leak in probe function
The driver probe function leaked memory if creating the cpu0_vid attribute file
failed. Fix by converting the driver to use devm_kzalloc.
Signed-off-by: Guenter Roeck <[email protected]>
Cc: [email protected] # 2.6.32+
Acked-by: Jean Delvare <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions