scsi: target: iscsi: Free conn_ops when zalloc_cpumask_var failed
authortangwenji <tang.wenji@zte.com.cn>
Wed, 20 Mar 2019 14:14:44 +0000 (22:14 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 21 Mar 2019 00:38:07 +0000 (20:38 -0400)
commitf55d0b40eccfcfb50f93cc7d03c95e25ab19917e
tree5c7aa2ff85d1dcf162bcd51699009c22d145ed9e
parent1ea9b4633cda461f09b4476ff612d32d78e81c92
scsi: target: iscsi: Free conn_ops when zalloc_cpumask_var failed

It should not free cpumask but free conn->conn_ops when zalloc_cpumask_var
failed.

Signed-off-by: tangwenji <tang.wenji@zte.com.cn>
Reviewed-by: Mike Christie <mchristi@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/target/iscsi/iscsi_target_login.c