mt76: mt7921: fix memory leak in mt7921_coredump_work
authorSean Wang <sean.wang@mediatek.com>
Fri, 19 Feb 2021 17:28:45 +0000 (18:28 +0100)
committerFelix Fietkau <nbd@nbd.name>
Sun, 11 Apr 2021 22:01:20 +0000 (00:01 +0200)
commit782b3e86ea970e899f8e723db9f64708a15ca30e
treee5ee576666425f29ad7b2078e3dfb360afd57fab
parent5e30931494b4940ba74fa5796ca0b6d7e4c84e88
mt76: mt7921: fix memory leak in mt7921_coredump_work

Fix possible memory leak in mt7921_coredump_work.

Fixes: 1c099ab44727c ("mt76: mt7921: add MCU support")
Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7921/mac.c