Searched hist:"8 bc3603675f7bf4dfa4eb6bdaf2aa0a8ddce9fa6" (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/drivers/usb/host/ |
| H A D | ehci-hcd.c | 8bc3603675f7bf4dfa4eb6bdaf2aa0a8ddce9fa6 Mon Jul 29 10:27:40 UTC 2013 Nikita Kiryanov <nikita@compulab.co.il> ehci-hcd: fix memory leak in lowlevel init
usb_lowlevel_init() allocates a new periodic_list each time it is invoked, without freeing the original list. Since it is initialized later on in the code, just reuse the first-allocated list in future invocations of usb_lowlevel_init.
Cc: Marek Vasut <marex@denx.de> Cc: Igor Grinberg <grinberg@compulab.co.il> Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
|