[stgt] [PATCH] free target->redirect_info.callback upon iscsi target release

FUJITA Tomonori fujita.tomonori at lab.ntt.co.jp
Tue Oct 19 01:33:17 CEST 2010


On Mon, 18 Oct 2010 21:12:24 +0200
Alexander Nezhinsky <alexandern at Voltaire.COM> wrote:

> Added missing free() of target->redirect_info.callback upon iscsi target 
> release. When set, this field refers to a strdup'ed string.
> 
> Signed-off-by: Alexander Nezhinsky <alexandern at voltaire.com>
> ---
>  usr/iscsi/target.c |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)

Nice catch. Applied, thanks!

I got and fixed the following error:

Applying: free target->redirect_info.callback upon iscsi target release
/home/fujita/git/tgt/.git/rebase-apply/patch:13: trailing whitespace.
	if (target->redirect_info.callback) 
warning: 1 line adds whitespace errors.


Please run ./scripts/checkpatch.pl before sending a patch.

Thanks,
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



More information about the stgt mailing list