Skip to content
Commit 94c78cb4 authored by Johannes Berg's avatar Johannes Berg
Browse files

mac80211: fix memory leak



My recent change here introduced a possible memory leak if the
driver registers an invalid cipher schemes. This won't really
happen in practice, but fix the leak nonetheless.

Fixes: e3a55b53 ("mac80211: validate cipher scheme PN length better")
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 658358ce
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