diff options
author | Julia Lawall <julia@diku.dk> | 2011-08-09 11:10:56 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-08-17 10:55:53 -0700 |
commit | 8282be4dd5ff3fef30271c61ee74db66524d8350 (patch) | |
tree | 9c17b48951500277b8d82c98f8ddf7d1483bcf14 /sound | |
parent | 55041e081ef433774279ecb6fc3fd30f741f5f37 (diff) | |
download | kernel_samsung_crespo-8282be4dd5ff3fef30271c61ee74db66524d8350.zip kernel_samsung_crespo-8282be4dd5ff3fef30271c61ee74db66524d8350.tar.gz kernel_samsung_crespo-8282be4dd5ff3fef30271c61ee74db66524d8350.tar.bz2 |
hwmon: (ibmaem) add missing kfree
commit 66a89b2164e2d30661edbd1953eacf0594d8203a upstream.
rs_resp is dynamically allocated in aem_read_sensor(), so it should be freed
before exiting in every case. This collects the kfree and the return at
the end of the function.
Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions