diff options
author | Wei Yongjun <[email protected]> | 2017-02-07 14:52:58 +0000 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2017-02-09 18:35:00 -0500 |
commit | 8b9b22ba75907dcced88c815a5427ec0b4298aec (patch) | |
tree | 99ca65a7fba28e19c42c8360ab7e475e48dce728 /lib/netdev-notifier-error-inject.c | |
parent | 7942f7b568d7cda28c3aea9c81d48490769c853c (diff) |
scsi: qedi: Fix possible memory leak in qedi_iscsi_update_conn()
'conn_info' is malloced in qedi_iscsi_update_conn() and should be freed
before leaving from the error handling cases, otherwise it will cause
memory leak.
Fixes: ace7f46ba5fd ("scsi: qedi: Add QLogic FastLinQ offload iSCSI driver framework.")
Signed-off-by: Wei Yongjun <[email protected]>
Acked-by: Manish Rangankar <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions