commit | 8282be4dd5ff3fef30271c61ee74db66524d8350 | [log] [tgz] |
---|---|---|
author | Julia Lawall <julia@diku.dk> | Tue Aug 09 11:10:56 2011 -0400 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Wed Aug 17 10:55:53 2011 -0700 |
tree | 9c17b48951500277b8d82c98f8ddf7d1483bcf14 | |
parent | 55041e081ef433774279ecb6fc3fd30f741f5f37 [diff] |
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>