diff options
| author | Johannes Berg <johannes.berg@intel.com> | 2026-09-16 11:57:59 +0200 |
|---|---|---|
| committer | Johannes Berg <johannes.berg@intel.com> | 2026-09-21 10:50:59 +0200 |
| commit | 5c299357ec1d5c21fa1141310a5f10e0ed47cf03 (patch) | |
| tree | a8db961607eeef6e9a2e5d03be2819525d964052 /include/linux/debugobjects.h | |
| parent | 8a673c89441d71776579d2ca307c7a6f0bcd86f1 (diff) | |
wifi: mac80211: tests: fix memory leak
The code allocates the bitrates twice, but really
only should do that once. Remove the unconditional
allocation even though it's the same in both branches
of the switch, since the cleanup only handles those
two branches explicitly.
Link: https://patch.msgid.link/20260916115759.2cd8a91ed99d.I89c5068a3472e6296baf5a2d6832b733282d2b24@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
