commit | 66a89b2164e2d30661edbd1953eacf0594d8203a | [log] [tgz] |
---|---|---|
author | Julia Lawall <julia@diku.dk> | Tue Aug 09 11:10:56 2011 -0400 |
committer | Guenter Roeck <guenter.roeck@ericsson.com> | Thu Aug 11 10:14:18 2011 -0700 |
tree | 4327f52b43071126bdcc0816be3b8305b902e059 | |
parent | 3a2805e845761ea76a6ad5688d637b2624de0cab [diff] |
hwmon: (ibmaem) add missing kfree 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> Cc: stable@kernel.org # 2.6.27+