nl80211: fix error path in nl80211_get_key()
authorJohannes Berg <johannes.berg@intel.com>
Fri, 25 Oct 2013 09:15:12 +0000 (11:15 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 25 Nov 2013 15:50:06 +0000 (16:50 +0100)
commit9fe271af7d4de96471c5aaee2f4d0d1576050497
tree89307ad3686fe12c223ed256710cc3884152baa7
parentae917c9f55862691e31b84de7ec29bedcb83971c
nl80211: fix error path in nl80211_get_key()

Coverity pointed out that in the (practically impossible)
error case we leak the message - fix this.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c