iscsi-target: missing kfree() on error path
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 24 Jun 2013 15:46:57 +0000 (18:46 +0300)
committerNicholas Bellinger <nab@linux-iscsi.org>
Thu, 4 Jul 2013 02:44:34 +0000 (19:44 -0700)
commit4f45d320ba97ad2f1107a56e8b2af0dd7e764502
treeb2cac759fe9b6d390fb91ae71a952232811b301f
parent3e23d025bc19940979c4f0c67a39d64af7c893c6
iscsi-target: missing kfree() on error path

Fix-up breakage in iscsit_build_sendtargets_response() from v3.11
changes, and free "payload" before returning.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/iscsi/iscsi_target.c