Hi Grigor,
> Grigor Tovmasyan hat am 9. April 2018 um
> 18:42 geschrieben:
>
>
> Hi Stefan,
>
> On 4/2/2018 12:59 PM, Stefan Wahren wrote:
> > Hi Minas,
> >
> > i noticed that in opposite to all allocations in dwc2_gadget_init() the
> > function
Hi Stefan,
On 4/2/2018 12:59 PM, Stefan Wahren wrote:
> Hi Minas,
>
> i noticed that in opposite to all allocations in dwc2_gadget_init() the
> function dwc2_hsotg_ep_alloc_request() uses kzalloc. So in case
> usb_add_gadget_udc() would fail, the memory of the USB request would be
> leaked:
>
Hi Minas,
i noticed that in opposite to all allocations in dwc2_gadget_init() the
function dwc2_hsotg_ep_alloc_request() uses kzalloc. So in case
usb_add_gadget_udc() would fail, the memory of the USB request would be leaked:
Linux raspberrypi 4.16.0-rc7-next-20180327+ #2 SMP PREEMPT Sat Mar