diff options
| author | Abdun Nihaal <nihaal@cse.iitm.ac.in> | 2025-10-28 23:13:39 +0530 |
|---|---|---|
| committer | Johannes Berg <johannes.berg@intel.com> | 2025-10-30 08:41:10 +0100 |
| commit | 70e8335485966d7d4ed85976dceab52803b151a2 (patch) | |
| tree | 10ec4311c6aa0196fed200b71c4c8332c0d70796 /net/unix/af_unix.c | |
| parent | fbc1cc6973099f45e4c30b86f12b4435c7cb7d24 (diff) | |
wifi: zd1211rw: fix potential memory leak in __zd_usb_enable_rx()
The memory allocated for urbs with kcalloc() is not freed on any error
path. Fix that by freeing it in the error path.
Fixes: e85d0918b54f ("[PATCH] ZyDAS ZD1211 USB-WLAN driver")
Signed-off-by: Abdun Nihaal <nihaal@cse.iitm.ac.in>
Link: https://patch.msgid.link/20251028174341.139134-1-nihaal@cse.iitm.ac.in
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
