aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2012-06-27 11:59:58 +0300
committerJames Bottomley <[email protected]>2012-07-20 08:58:37 +0100
commita5254dbb17dd22999f808e646780c32858a3eafa (patch)
tree9d45b698d14a26d2c9b46973225c93e471f74429 /tools/perf/scripts/python
parentfffa69230b7bbfc62d8cfb515c3e658224a0f88c (diff)
[SCSI] bfa: dereferencing freed memory in bfad_im_probe()
If bfad_thread_workq(bfad) was not BFA_STATUS_OK then we freed "im" and then dereferenced it. I did a little clean up because it seemed nicer to return directly instead of doing a superfluous goto. I looked at other functions in this file and it seems like returning directly is standard. Signed-off-by: Dan Carpenter <[email protected]> Acked-by: Krishna Gudipati <[email protected]> Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions