Repository navigation
Commit b7566fc
cfg80211: Fix memory leak
When a driver requests a specific regulatory domain after cfg80211 already
has one, a struct ieee80211_regdomain is leaked.
Reported-by: Larry Finger <Larry.Finger@lwfinger.net>
Tested-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>1 parent 78f42ae commit b7566fc
1 file changed
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2189 | 2189 | | |
2190 | 2190 | | |
2191 | 2191 | | |
2192 | | - | |
| 2192 | + | |
| 2193 | + | |
| 2194 | + | |
| 2195 | + | |
2193 | 2196 | | |
2194 | | - | |
| 2197 | + | |
| 2198 | + | |
2195 | 2199 | | |
| 2200 | + | |
2196 | 2201 | | |
2197 | 2202 | | |
2198 | 2203 | | |
| |||
0 commit comments