[PATCH 1/1] be2iscsi: remove potential junk pointer free

2014-06-06 Thread Tomas Henzl
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 the...@redhat.com --- diff --git a/drivers/scsi/be2iscsi/be_mgmt.c b/drivers/scsi/be2iscsi/be_mgmt.c

Re: [PATCH 1/1] be2iscsi: remove potential junk pointer free

2014-06-06 Thread Christoph Hellwig
On Fri, Jun 06, 2014 at 02:22:44PM +0200, Tomas Henzl wrote: 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 the...@redhat.com Looks good,

Re: [PATCH 1/1] be2iscsi: remove potential junk pointer free

2014-06-06 Thread Michael Christie
On Jun 6, 2014, at 7:22 AM, Tomas Henzl the...@redhat.com wrote: 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 the...@redhat.com --- diff