mac80211: fix memory leak in device registration error path
If the cipher suites need to be allocated, but this
allocation fails, this leaks the internal scan request.
Fix that by going to the correct error handling label.
Signed-off-by:
Johannes Berg <johannes.berg@intel.com>
parent
987c285c
Please register or sign in to comment