diff options
| author | Abdun Nihaal <nihaal@cse.iitm.ac.in> | 2025-11-10 23:23:15 +0530 |
|---|---|---|
| committer | Johannes Berg <johannes.berg@intel.com> | 2025-11-11 11:11:24 +0100 |
| commit | 5e88e864118c20e63a1571d0ff0a152e5d684959 (patch) | |
| tree | 02b43af421d25b4e0a1ce937f0fca0d2dcbacb43 /drivers/acpi/cppc_acpi.c | |
| parent | 9e23063a79c4e7e56199d1a0642f63830dffa9ea (diff) | |
wifi: cw1200: Fix potential memory leak in cw1200_bh_rx_helper()
In one of the error paths, the memory allocated for skb_rx is not freed.
Fix that by freeing it before returning.
Fixes: a910e4a94f69 ("cw1200: add driver for the ST-E CW1100 & CW1200 WLAN chipsets")
Signed-off-by: Abdun Nihaal <nihaal@cse.iitm.ac.in>
Link: https://patch.msgid.link/20251110175316.106591-1-nihaal@cse.iitm.ac.in
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/acpi/cppc_acpi.c')
0 files changed, 0 insertions, 0 deletions
