diff options
author | Pan Bian <[email protected]> | 2019-11-05 17:25:27 +0800 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2019-11-19 21:37:34 -0500 |
commit | 3fe3d2428b62822b7b030577cd612790bdd8c941 (patch) | |
tree | 8eb52f5d9d0a7d0772dce138eb0cebf5ae543c1c /drivers/usb/cdns3/cdns3-imx.c | |
parent | 044f59de3a3de9c193cfc600c7a3045b24b3079f (diff) |
scsi: qla4xxx: fix double free bug
The variable init_fw_cb is released twice, resulting in a double free
bug. The call to the function dma_free_coherent() before goto is removed to
get rid of potential double free.
Fixes: 2a49a78ed3c8 ("[SCSI] qla4xxx: added IPv6 support.")
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Pan Bian <[email protected]>
Acked-by: Manish Rangankar <[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