aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-imx.c
diff options
context:
space:
mode:
authorBo Wu <[email protected]>2019-12-07 03:22:46 +0000
committerMartin K. Petersen <[email protected]>2019-12-09 18:07:34 -0500
commit9a1b0b9a6dab452fb0e39fe96880c4faf3878369 (patch)
tree3f7f9aeabef2edc458a6a3c8dd12328595f02480 /drivers/usb/cdns3/cdns3-imx.c
parentc868907e1ac6a08a17f8fa9ce482c0a496896e9e (diff)
scsi: lpfc: Fix memory leak on lpfc_bsg_write_ebuf_set func
When phba->mbox_ext_buf_ctx.seqNum != phba->mbox_ext_buf_ctx.numBuf, dd_data should be freed before return SLI_CONFIG_HANDLED. When lpfc_sli_issue_mbox func return fails, pmboxq should be also freed in job_error tag. Link: https://lore.kernel.org/r/EDBAAA0BBBA2AC4E9C8B6B81DEEE1D6915E7A966@DGGEML525-MBS.china.huawei.com Signed-off-by: Bo Wu <[email protected]> Reviewed-by: Zhiqiang Liu <[email protected]> Reviewed-by: James Smart <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions