aboutsummaryrefslogtreecommitdiff
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorJulia Lawall <julia@diku.dk>2011-08-09 11:10:56 -0400
committerPaul Gortmaker <paul.gortmaker@windriver.com>2012-05-17 11:21:31 -0400
commitc22f94701e1e10a253e9e9b5f14e6d397dce9f53 (patch)
treefec4c26d3b1403bfe2b23eeb8ac2d7670f9b34db /lib/string_helpers.c
parent011449930966f7f203814020ae9f910af49282a6 (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: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions