]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
nl80211: Fix potential memory leak in nl80211_connect
authorOla Olsson <ola1olsson@gmail.com>
Fri, 11 Dec 2015 20:04:52 +0000 (21:04 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 15 Dec 2015 12:11:26 +0000 (13:11 +0100)
commit707554b4d117330e58374990b6c27ded650dc684
treebab455c1b2bd8fba19fddea8c15fd8963cee3a21
parente5dbe0701a0d7c6127f313a0f68f960176f0209e
nl80211: Fix potential memory leak in nl80211_connect

Free cached keys if the last early return path is taken.

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