]> git.karo-electronics.de Git - karo-tx-linux.git/commit
acer-wmi: double free in acer_rfkill_exit()
authorDan Carpenter <error27@gmail.com>
Sat, 14 Feb 2009 09:53:48 +0000 (09:53 +0000)
committerLen Brown <len.brown@intel.com>
Mon, 16 Mar 2009 04:37:33 +0000 (00:37 -0400)
commit013d67fd4f0da8f6af60a376f1a254266ab658ef
tree0320f708760f39267205dbd00bc1adec3c4856cd
parentd263da311ab403e3a84fa24920edc826147a550c
acer-wmi: double free in acer_rfkill_exit()

This is acer_rfkill_exit() from drivers/platform/x86/acer-wmi.c.

The code frees wireless_rfkill->data again instead of
bluetooth_rfkill->data.

This was found using a code checker (http://repo.or.cz/w/smatch.git/).

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Carlos Corbacho <carlos@strangeworlds.co.uk>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/platform/x86/acer-wmi.c