aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2014-09-29 09:45:32 +1000
committerDave Chinner <david@fromorbit.com>2014-09-29 09:45:32 +1000
commit88b863db97a18a04c90ebd57d84e1b7863114dcb (patch)
tree785d344f08359851fe68ce952b939f7415ba92f6 /tools/perf/scripts/python/call-graph-from-postgresql.py
parentxfs: recovery of XLOG_UNMOUNT_TRANS leaks memory (diff)
downloadwireguard-linux-88b863db97a18a04c90ebd57d84e1b7863114dcb.tar.xz
wireguard-linux-88b863db97a18a04c90ebd57d84e1b7863114dcb.zip
xfs: fix double free in xlog_recover_commit_trans
When an error occurs during buffer submission in xlog_recover_commit_trans(), we free the trans structure twice. Fix it by only freeing the structure in the caller regardless of the success or failure of the function. Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions