aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorVaibhav Jain <[email protected]>2015-08-25 11:04:48 +0530
committerMichael Ellerman <[email protected]>2015-08-27 13:51:18 +1000
commita6897f39660cc07fa78b4459d82f12b07abb50b1 (patch)
tree65e2cdb08682a98de731de244ca79656972e327c /tools/perf/scripts/python/call-graph-from-postgresql.py
parentf47f966fbe0aaff4ebbdb83d95acdfa5d3c20477 (diff)
cxl: Release irqs if memory allocation fails
This minor patch plugs a potential irq leak in case of a memory allocation failure inside function the afu_allocate_irqs. Presently the irqs allocated to the context gets leaked if allocation of either one of context irq_bitmap or irq_names fails. Signed-off-by: Vaibhav Jain <[email protected]> Acked-by: Ian Munsie <[email protected]> Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions