Hi Evgenii, On Tue, 2015-04-21 at 15:49 +0300, Evgenii Lepikhin wrote: > Signed-off-by: Evgenii Lepikhin <johnlepikhin@xxxxxxxxx> > --- > drivers/target/iscsi/iscsi_target_login.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/target/iscsi/iscsi_target_login.c b/drivers/target/iscsi/iscsi_target_login.c > index 153fb66..d90822e 100644 > --- a/drivers/target/iscsi/iscsi_target_login.c > +++ b/drivers/target/iscsi/iscsi_target_login.c > @@ -347,6 +347,7 @@ static int iscsi_login_zero_tsih_s1( > if (IS_ERR(sess->se_sess)) { > iscsit_tx_login_rsp(conn, ISCSI_STATUS_CLS_TARGET_ERR, > ISCSI_LOGIN_STATUS_NO_RESOURCES); > + kfree(sess->sess_ops); > kfree(sess); > return -ENOMEM; > } Applied to target-pending/master, and will be include in the next v4.1 fixes PULL. Thank you, --nab -- To unsubscribe from this list: send the line "unsubscribe target-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html