git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b95dd03
)
staging: vt6656: don't leak 'param' in vt6656_hostap_ioctl() when returning -EOPNOTSUPP
author
Jesper Juhl
<jj@chaosbits.net>
Thu, 26 Jul 2012 21:43:22 +0000
(23:43 +0200)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Tue, 14 Aug 2012 02:09:06 +0000
(19:09 -0700)
Don't return -EOPNOTSUPP directly in switch case's since it'll leak
the memory allocated to 'param' when that variable goes out of scope
without having been assigned to anything.
Signed-off-by: Jesper Juhl <jj@chaosbits.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
No differences found