Re: [PATCH] staging: vt6655: don't leak when returning -EOPNOTSUPPin vt6655_hostap_ioctl

From: Greg Kroah-Hartman
Date: Mon Sep 30 2013 - 21:39:05 EST


On Mon, Sep 30, 2013 at 10:22:11PM +0200, Jesper Juhl wrote:
> Make sure we always free(param); and remove a redundant "goto out;"
> just before we'll hit the label anyway.
>
> Signed-off-by: Jesper Juhl <jj@xxxxxxxxxxxxx>
> ---
> drivers/staging/vt6655/hostap.c | 25 ++++++++++---------------
> 1 files changed, 10 insertions(+), 15 deletions(-)

Applied, thanks.

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/