ISCSI: fix minor memory leak
authorEvgenii Lepikhin <johnlepikhin@gmail.com>
Tue, 21 Apr 2015 12:49:57 +0000 (15:49 +0300)
committerNicholas Bellinger <nab@linux-iscsi.org>
Sat, 2 May 2015 23:31:33 +0000 (16:31 -0700)
commita928d28d4487402e6bd18bea1b8cc2b2ec6e6d8f
treeed2d680a2167dcc09ebb7aaf8aaad3dac6252d9e
parentb787f68c36d49bb1d9236f403813641efa74a031
ISCSI: fix minor memory leak

This patch adds a missing kfree for sess->sess_ops memory upon
transport_init_session() failure.

Signed-off-by: Evgenii Lepikhin <johnlepikhin@gmail.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/iscsi/iscsi_target_login.c