Skip to content
Commit 62fd0e0a authored by Young Xiao's avatar Young Xiao Committed by Felipe Balbi
Browse files

usb: gadget: fusb300_udc: Fix memory leak of fusb300->ep[i]



There is no deallocation of fusb300->ep[i] elements, allocated at
fusb300_probe.

The patch adds deallocation of fusb300->ep array elements.

Signed-off-by: default avatarYoung Xiao <92siuyang@gmail.com>
Signed-off-by: default avatarFelipe Balbi <felipe.balbi@linux.intel.com>
parent b5bbe223
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment