summaryrefslogtreecommitdiff
path: root/scripts/dtc
diff options
context:
space:
mode:
authorJesper Juhl <jj@chaosbits.net>2012-07-26 21:43:22 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-08-14 02:09:06 (GMT)
commitfb841d676bdb266e151398db2c28a1c4d0999219 (patch)
tree2ed51c6b41113d15d17d34134aa13e05145c2ad7 /scripts/dtc
parentb95dd03df2b9f20b4df35ae5f18430849908a7ed (diff)
downloadlinux-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')
0 files changed, 0 insertions, 0 deletions