summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2016-08-11 20:17:22 +0300
committerDavid S. Miller <davem@davemloft.net>2016-08-14 00:56:17 +0300
commitb4c0e0c61f81dedc82dda35c287ea149ff98b434 (patch)
treeec7aea76bd12aa927205b592f846f782cc8904d2 /tools/perf/scripts/python/call-graph-from-postgresql.py
parent747ea55e4f78fd980350c39570a986b8c1c3e4aa (diff)
downloadlinux-b4c0e0c61f81dedc82dda35c287ea149ff98b434.tar.xz
calipso: fix resource leak on calipso_genopt failure
Currently, if calipso_genopt fails then the error exit path does not free the ipv6_opt_hdr new causing a memory leak. Fix this by kfree'ing new on the error exit path. Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions