From: Jesper Juhl Date: Thu, 26 Jul 2012 21:43:22 +0000 (+0200) Subject: staging: vt6656: don't leak 'param' in vt6656_hostap_ioctl() when returning -EOPNOTSUPP X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~75^2~976 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb841d676bdb266e151398db2c28a1c4d0999219;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed