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

2013-09-30 Thread Greg Kroah-Hartman
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 > --- > drivers/staging/vt6655/hostap.c | 25 ++--- > 1 files

[PATCH] staging: vt6655: don't leak when returning -EOPNOTSUPP in vt6655_hostap_ioctl

2013-09-30 Thread Jesper Juhl
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 --- drivers/staging/vt6655/hostap.c | 25 ++--- 1 files changed, 10 insertions(+), 15 deletions(-) diff --git

[PATCH] staging: vt6655: don't leak when returning -EOPNOTSUPP in vt6655_hostap_ioctl

2013-09-30 Thread Jesper Juhl
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 j...@chaosbits.net --- drivers/staging/vt6655/hostap.c | 25 ++--- 1 files changed, 10 insertions(+), 15 deletions(-) diff --git

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

2013-09-30 Thread Greg Kroah-Hartman
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 j...@chaosbits.net --- drivers/staging/vt6655/hostap.c | 25 ++--- 1