diff options
| author | Pavel Skripkin <[email protected]> | 2021-06-03 19:39:11 +0300 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2021-06-03 15:05:07 -0700 |
| commit | b53558a950a89824938e9811eddfc8efcd94e1bb (patch) | |
| tree | cffe51ae8ead138fa2648c1eef0166674d38f7fb /scripts/gdb/linux/radixtree.py | |
| parent | a2805dca5107d5603f4bbc027e81e20d93476e96 (diff) | |
net: caif: fix memory leak in caif_device_notify
In case of caif_enroll_dev() fail, allocated
link_support won't be assigned to the corresponding
structure. So simply free allocated pointer in case
of error
Fixes: 7c18d2205ea7 ("caif: Restructure how link caif link layer enroll")
Cc: [email protected]
Reported-and-tested-by: [email protected]
Signed-off-by: Pavel Skripkin <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/radixtree.py')
0 files changed, 0 insertions, 0 deletions