From: Wei Yongjun Date: Sun, 2 Sep 2012 13:41:04 +0000 (+0800) Subject: nl80211: fix possible memory leak nl80211_connect() X-Git-Tag: v3.6-rc6~18^2~22^2~18^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b4e4f47e940bc93c5b1125a4429ff53956754800;p=pandora-kernel.git 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 Signed-off-by: Johannes Berg --- Reading git-diff-tree failed