diff options
Diffstat (limited to 'drivers/scsi/be2iscsi/be_main.c')
-rw-r--r-- | drivers/scsi/be2iscsi/be_main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/be2iscsi/be_main.c b/drivers/scsi/be2iscsi/be_main.c index 854414551bb0..353a90b3574d 100644 --- a/drivers/scsi/be2iscsi/be_main.c +++ b/drivers/scsi/be2iscsi/be_main.c | |||
@@ -2750,6 +2750,7 @@ beiscsi_create_wrb_rings(struct beiscsi_hba *phba, | |||
2750 | if (status != 0) { | 2750 | if (status != 0) { |
2751 | shost_printk(KERN_ERR, phba->shost, | 2751 | shost_printk(KERN_ERR, phba->shost, |
2752 | "wrbq create failed."); | 2752 | "wrbq create failed."); |
2753 | kfree(pwrb_arr); | ||
2753 | return status; | 2754 | return status; |
2754 | } | 2755 | } |
2755 | phwi_ctrlr->wrb_context[i * 2].cid = phwi_context->be_wrbq[i]. | 2756 | phwi_ctrlr->wrb_context[i * 2].cid = phwi_context->be_wrbq[i]. |