Commit adcc6a2f authored by Pavankumar Kondeti's avatar Pavankumar Kondeti
Browse files

USB: gadget: Fix memory leak in UASP function



The write buffer is allocated twice in bot_send_write_request
function.  Fix this by removing additional memory allocation.

Change-Id: I3253c149c3703621be30d0f84499d6af0aff8bc8
Signed-off-by: default avatarPavankumar Kondeti <pkondeti@codeaurora.org>
parent 0aa97979
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment