diff options
| author | Abdun Nihaal <nihaal@cse.iitm.ac.in> | 2026-07-23 17:15:37 +0530 |
|---|---|---|
| committer | Ping-Ke Shih <pkshih@realtek.com> | 2026-07-30 10:26:12 +0800 |
| commit | 6496ce90845df2d22fb8e8ed235cd2936fad41c8 (patch) | |
| tree | 0a81b85f4a83cbae92827e17ac4e7a95bca97da8 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 799b5f45cb8194ebd06c9c89e0afdad5bedd2cc5 (diff) | |
wifi: rtlwifi: rtl8192du: Fix possible memory leak in rtl92du_init_sw_vars()
The memory allocated inside rtl92du_init_shared_data() is not freed in
any of the subsequent error paths in rtl92du_init_sw_vars().
Fix that by adding a call to rtl92du_deinit_shared_data() in the error
path.
Fixes: b5dc8873b6ff ("wifi: rtlwifi: Add rtl8192du/sw.c")
Cc: stable@vger.kernel.org
Signed-off-by: Abdun Nihaal <nihaal@cse.iitm.ac.in>
Acked-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20260723114539.136986-1-nihaal@cse.iitm.ac.in
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
