commit | 0957627a99604f379d35831897a2aa15272528fc | [log] [tgz] |
---|---|---|
author | Nicholas Bellinger <nab@linux-iscsi.org> | Fri Nov 04 11:36:38 2011 -0700 |
committer | Nicholas Bellinger <nab@linux-iscsi.org> | Tue Dec 06 06:00:49 2011 +0000 |
tree | 250335ec7dcc6816a7b8135076058a494745f689 | |
parent | 03e98c9eb916f3f0868c1dc344dde2a60287ff72 [diff] |
iscsi-target: Fix sess allocation leak in iscsi_login_zero_tsih_s1 This patch adds missing kfree() for an allocation in iscsi_login_zero_tsih_s1() code, and make transport_init_session() check for IS_ERR() returns. Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>