summaryrefslogtreecommitdiff
path: root/drivers/misc/arm-charlcd.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2016-04-28 16:24:37 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-04-28 17:02:28 +0300
commit983d9e065b37dac5aaa2d5a819bdd5b5a0b78c8c (patch)
tree77545e6fe46603334d6c6585ae00532f024e6872 /drivers/misc/arm-charlcd.c
parent04b03594c73c1877a98c7a657cc45bf5e9d89f7c (diff)
downloadlinux-983d9e065b37dac5aaa2d5a819bdd5b5a0b78c8c.tar.xz
cpupower: bench: parse.c: fix several resource leaks
The error handling in prepare_output has several issues with resource leaks. Ensure that filename is free'd and the directory stream DIR is closed before returning. Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Thomas Renninger <trenn@suse.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/misc/arm-charlcd.c')
0 files changed, 0 insertions, 0 deletions