diff --git a/net/mac80211/sta_info.c b/net/mac80211/sta_info.c index 5894c0a1c01ff64afe28d2fbaaf793344603a2b7..87b7e7a7df6cc22a8aced080e86c765308ca9a0b 100644 --- a/net/mac80211/sta_info.c +++ b/net/mac80211/sta_info.c @@ -562,6 +562,7 @@ static int sta_info_insert_finish(struct sta_info *sta) __acquires(RCU) __cleanup_single_sta(sta); out_err: mutex_unlock(&local->sta_mtx); + kfree(sinfo); rcu_read_lock(); return err; }