Skip to content
Commit 013d67fd authored by Dan Carpenter's avatar Dan Carpenter Committed by Len Brown
Browse files

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: default avatarDan Carpenter <error27@gmail.com>
Signed-off-by: default avatarCarlos Corbacho <carlos@strangeworlds.co.uk>
Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent d263da31
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment