diff options
author | Evgeny Novikov <novikov@ispras.ru> | 2020-06-26 16:17:47 +0300 |
---|---|---|
committer | Felipe Balbi <balbi@kernel.org> | 2020-07-09 10:13:07 +0300 |
commit | c8f8529e2c4141afa2ebb487ad48e8a6ec3e8c99 (patch) | |
tree | fa43a52a71b65aacbdbe98a39d7b7bcc356d780c /security/safesetid | |
parent | 4a0f5a7f2bab80348ca1e4b996648a20746a2407 (diff) |
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 'security/safesetid')
0 files changed, 0 insertions, 0 deletions