diff options
author | Sean Wang <sean.wang@mediatek.com> | 2022-12-09 07:01:57 +0800 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2022-12-09 16:45:39 +0100 |
commit | 47180ecf4541146836c5307c1d5526f8ac6a5a6d (patch) | |
tree | 45f6e5f46662ad41ef7c3c90974677ef1ee8172b /kernel/utsname.c | |
parent | 4493acad5b334ed0b45e374135acc6d6aaa9755c (diff) |
wifi: mt76: mt7921: resource leaks at mt7921_check_offload_capability()
Fixed coverity issue with resource leaks at variable "fw" going out of
scope leaks the storage it points to mt7921_check_offload_capability().
Reported-by: coverity-bot <keescook+coverity-bot@chromium.org>
Addresses-Coverity-ID: 1527806 ("Resource leaks")
Fixes: 034ae28b56f1 ("wifi: mt76: mt7921: introduce remain_on_channel support")
Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'kernel/utsname.c')
0 files changed, 0 insertions, 0 deletions