aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorSudip Mukherjee <[email protected]>2015-09-26 09:31:06 +0000
committerFelipe Balbi <[email protected]>2015-09-30 16:20:21 +0000
commit7022cfdfe07dcfccc294f04de5f75e0a37b16174 (patch)
tree63326523e3d837c5adf52e293c0a5db8fd709d60 /drivers/fpga/fpga-mgr.c
parentLinux 4.3-rc3 (diff)
downloadkernel-7022cfdfe07dcfccc294f04de5f75e0a37b16174.tar.gz
kernel-7022cfdfe07dcfccc294f04de5f75e0a37b16174.zip
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 <[email protected]> Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions