Re: [PATCH] wifi: mt76: Fix memory leak after mt76_connac_mcu_alloc_sta_req()
From: Markus Elfring <hidden>
Date: 2026-01-16 16:57:03
Also in:
linux-mediatek, linux-wireless, lkml
From: Markus Elfring <hidden>
Date: 2026-01-16 16:57:03
Also in:
linux-mediatek, linux-wireless, lkml
…
Fix this by explicitly freeing the skb in these error paths.
… How do you think about to avoid a bit of duplicate source code here? https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/coding-style.rst?h=v6.19-rc5#n526 Regards, Markus