Commit 786c5be
wifi: mac80211: free skb on error path in ieee80211_beacon_get_ap()
In 'ieee80211_beacon_get_ap()', free allocated skb in case of error
returned by 'ieee80211_beacon_protect()'. Compile tested only.
Signed-off-by: Dmitry Antipov <dmantipov@yandex.ru>
Link: https://patch.msgid.link/20240805142035.227847-1-dmantipov@yandex.ru
Signed-off-by: Johannes Berg <johannes.berg@intel.com>1 parent 3a84454 commit 786c5be
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5348 | 5348 | | |
5349 | 5349 | | |
5350 | 5350 | | |
5351 | | - | |
| 5351 | + | |
| 5352 | + | |
5352 | 5353 | | |
| 5354 | + | |
5353 | 5355 | | |
5354 | 5356 | | |
5355 | 5357 | | |
| |||
0 commit comments