mac80211: fix memory leak in device registration error path
authorJohannes Berg <johannes.berg@intel.com>
Fri, 9 Nov 2012 08:47:27 +0000 (09:47 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 9 Nov 2012 08:48:43 +0000 (09:48 +0100)
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>

No differences found