Author: Wei Yongjun <yongjun_wei@trendmicro.com.cn> 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 — net/wireless/nl80211.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) …