aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/c++/clang-test.cpp
diff options
context:
space:
mode:
authorLin Yi <[email protected]>2019-06-25 10:35:29 +0800
committerMartin K. Petersen <[email protected]>2019-06-26 22:43:02 -0400
commit7bfe5ae57c803dd529aaf6feb32c3b49ebff66bd (patch)
tree0e9c5594911a642dc4a3c3bb149638b4208e548d /tools/perf/util/c++/clang-test.cpp
parent177709c0702e7351dae3b9b4f9de3140a9ee3a06 (diff)
scsi: bnx2fc: fix bnx2fc_cmd refcount imbalance in send_srr
If cb_arg alloc failed, we can't release the struct orig_io_req refcount before we take its refcount. As Saurav said, move the srr_err label down to avoid unnecessary refcount release and nullptr free. Signed-off-by: Lin Yi <[email protected]> Acked-by: Saurav Kashyap <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang-test.cpp')
0 files changed, 0 insertions, 0 deletions