aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/cdns3/cdns3-pci-wrap.c
diff options
context:
space:
mode:
authorEvgeny Novikov <[email protected]>2020-06-26 13:17:47 +0000
committerFelipe Balbi <[email protected]>2020-07-09 07:13:07 +0000
commitc8f8529e2c4141afa2ebb487ad48e8a6ec3e8c99 (patch)
treefa43a52a71b65aacbdbe98a39d7b7bcc356d780c /drivers/usb/cdns3/cdns3-pci-wrap.c
parentusb: gadget: fix langid kernel-doc warning in usbstring.c (diff)
downloadkernel-c8f8529e2c4141afa2ebb487ad48e8a6ec3e8c99.tar.gz
kernel-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 <[email protected]> Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-pci-wrap.c')
0 files changed, 0 insertions, 0 deletions