Skip to content
Commit 2e9729d0 authored by David Vrabel's avatar David Vrabel Committed by Greg Kroah-Hartman
Browse files

USB: wusb: don't leak urb in certain error cases



Don't leak an urb in wusb_dev_alloc() if the following kmalloc() failed.

Reported-by: default avatarJulia Lawall <julia@diku.dk>
Signed-off-by: default avatarDavid Vrabel <david.vrabel@csr.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 0d370755
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment