diff options
author | Jesper Juhl <jj@chaosbits.net> | 2012-07-26 21:43:22 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-08-14 02:09:06 (GMT) |
commit | fb841d676bdb266e151398db2c28a1c4d0999219 (patch) | |
tree | 2ed51c6b41113d15d17d34134aa13e05145c2ad7 /scripts/dtc/fstree.c | |
parent | b95dd03df2b9f20b4df35ae5f18430849908a7ed (diff) | |
download | linux-fsl-qoriq-fb841d676bdb266e151398db2c28a1c4d0999219.tar.xz |
staging: vt6656: don't leak 'param' in vt6656_hostap_ioctl() when returning -EOPNOTSUPP
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>
Diffstat (limited to 'scripts/dtc/fstree.c')
0 files changed, 0 insertions, 0 deletions