Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
staging: vt6656: don't leak 'param' in vt6656_hostap_ioctl() when ret…
…urning -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>
- Loading branch information