diff options
| author | 2020-06-26 16:17:47 +0300 | |
|---|---|---|
| committer | 2020-07-09 10:13:07 +0300 | |
| commit | c8f8529e2c4141afa2ebb487ad48e8a6ec3e8c99 (patch) | |
| tree | fa43a52a71b65aacbdbe98a39d7b7bcc356d780c /net/switchdev/switchdev.c | |
| parent | usb: gadget: fix langid kernel-doc warning in usbstring.c (diff) | |
| download | wireguard-linux-c8f8529e2c4141afa2ebb487ad48e8a6ec3e8c99.tar.xz wireguard-linux-c8f8529e2c4141afa2ebb487ad48e8a6ec3e8c99.zip | |
usb: gadget: udc: gr_udc: fix memleak on error handling path in gr_ep_init()
gr_ep_init() does not assign the allocated request anywhere if allocation
of memory for the buffer fails. This is a memory leak fixed by the given
patch.
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Evgeny Novikov <novikov@ispras.ru>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
