Details

[Home]

Issue of the Implementation # L0246

Brief

usb: gadget: goku_udc: fix memory leak in goku_probe()

Detailed Description

Memory allocated for goku_udc device is not deallocated at error paths in goku_probe(), because gadget_release() destructor is not registered yet.

Component

linux-kernel 4.8

Accepted

https://patchwork.kernel.org/patch/9300735/
commit

Status

Fixed in kernel 4.9-rc1

[Home]