summaryrefslogtreecommitdiff
path: root/scripts/gdb
diff options
context:
space:
mode:
authorLoic Poulain <loic.poulain@oss.qualcomm.com>2025-09-26 21:56:56 +0200
committerJeff Johnson <jeff.johnson@oss.qualcomm.com>2025-10-06 09:48:54 -0700
commit2e9c1da4ee9d0acfca2e0a3d78f3d8cb5802da1b (patch)
tree43a3b3196f2a69b4ea0adbe18956fdf0a7ed9f26 /scripts/gdb
parent4ff71af020ae59ae2d83b174646fc2ad9fcd4dc4 (diff)
wifi: ath10k: Fix memory leak on unsupported WMI command
ath10k_wmi_cmd_send takes ownership of the passed buffer (skb) and has the responsibility to release it in case of error. This patch fixes missing free in case of early error due to unhandled WMI command ID. Tested-on: WCN3990 hw1.0 WLAN.HL.3.3.7.c2-00931-QCAHLSWMTPLZ-1 Fixes: 553215592f14 ("ath10k: warn if give WMI command is not supported") Suggested-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com> Signed-off-by: Loic Poulain <loic.poulain@oss.qualcomm.com> Reviewed-by: Baochen Qiang <baochen.qiang@oss.qualcomm.com> Link: https://patch.msgid.link/20250926195656.187970-1-loic.poulain@oss.qualcomm.com Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
Diffstat (limited to 'scripts/gdb')
0 files changed, 0 insertions, 0 deletions