summaryrefslogtreecommitdiff
path: root/net/mac80211/cfg.c
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2012-09-02 13:41:04 (GMT)
committerJohannes Berg <johannes.berg@intel.com>2012-09-04 16:06:00 (GMT)
commitb4e4f47e940bc93c5b1125a4429ff53956754800 (patch)
treeb7cfe228d939d69b217c4b632abf57184e7a894f /net/mac80211/cfg.c
parent3d2abdfdf14f4d6decc2023708211e19b096f4ca (diff)
downloadlinux-fsl-qoriq-b4e4f47e940bc93c5b1125a4429ff53956754800.tar.xz
nl80211: fix possible memory leak nl80211_connect()
connkeys is malloced in nl80211_parse_connkeys() and should be freed in the error handling case, otherwise it will cause memory leak. spatch with a semantic match is used to found this problem. (http://coccinelle.lip6.fr/) Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/cfg.c')
0 files changed, 0 insertions, 0 deletions