aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2017-01-24 14:38:38 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-01-25 11:41:44 +0100
commitacf50ec773703f7043944aaf957b625a82fc9ce0 (patch)
tree62067bb44fe9eabe71330c76ee1598bfb68e47ab /tools/perf/scripts/python
parentchar: xilinx_hwicap: Remove pointless local variables (diff)
downloadlinux-acf50ec773703f7043944aaf957b625a82fc9ce0.tar.gz
linux-acf50ec773703f7043944aaf957b625a82fc9ce0.zip
eeprom: fix memory leak on buf when failed allocation of csraddr_str
The error return path When csraddr_str fails to free buf, causing a memory leak. Fix this by returning via the free_buf label that performs the necessary cleanup. Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions