commit | 7022cfdfe07dcfccc294f04de5f75e0a37b16174 | [log] [tgz] |
---|---|---|
author | Sudip Mukherjee <sudipm.mukherjee@gmail.com> | Sat Sep 26 15:01:06 2015 +0530 |
committer | Felipe Balbi <balbi@ti.com> | Wed Sep 30 11:20:21 2015 -0500 |
tree | 63326523e3d837c5adf52e293c0a5db8fd709d60 | |
parent | 9ffecb10283508260936b96022d4ee43a7798b4c [diff] |
usb: gadget: bdc: fix memory leak If dma_pool_alloc() fails we are jumping to fail and releasing all the bd_tables which have been added to the chain but we missed freeing this bd_table which was just allocated and still not added to the chain of bd_table. Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org> Signed-off-by: Felipe Balbi <balbi@ti.com>