diff options
author | Oliver Neukum <oneukum@suse.com> | 2022-07-05 15:53:51 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-07-07 04:54:56 +0300 |
commit | b55a21b764c1e182014630fa5486d717484ac58f (patch) | |
tree | 8b7573a726524c9cb4289a9a1e6fe1482e54c928 /block | |
parent | a069a90554168ac4cc81af65f000557d2a8a0745 (diff) | |
download | linux-b55a21b764c1e182014630fa5486d717484ac58f.tar.xz |
usbnet: fix memory leak in error case
usbnet_write_cmd_async() mixed up which buffers
need to be freed in which error case.
v2: add Fixes tag
v3: fix uninitialized buf pointer
Fixes: 877bd862f32b8 ("usbnet: introduce usbnet 3 command helpers")
Signed-off-by: Oliver Neukum <oneukum@suse.com>
Link: https://lore.kernel.org/r/20220705125351.17309-1-oneukum@suse.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions