be2iscsi: remove potential junk pointer free
authorTomas Henzl <thenzl@redhat.com>
Fri, 6 Jun 2014 12:22:44 +0000 (14:22 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 25 Jun 2014 11:29:05 +0000 (13:29 +0200)
commitbeff65497ab12821c65739557c77d85bdd4ca618
treef3d684967fd9eed61639ad2b48ea8dd1a312e677
parent5f2d25efa4c4567fa72b70de4e041252c72aa10e
be2iscsi: remove potential junk pointer free

commit 0e7c60c [SCSI] be2iscsi: fix memory leak in error path
fixed an potential junk pointer free if  mgmt_get_if_info() returned an error

fix it on one more place

Signed-off-by: Tomas Henzl <thenzl@redhat.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/be2iscsi/be_mgmt.c