Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 1e5c2d93 authored by Manu Gautam's avatar Manu Gautam
Browse files

USB: gadget: mtp: Fix bug in freeing memory on allocation failure



Current code doesn't handle the memory allocation failure
correctly and ends up leaking memory and trying to free
unallocated one.

CRs-fixed: 540226
Change-Id: I7e3527b7e08ccfe566d85e3009d8a015d8daa707
Signed-off-by: default avatarManu Gautam <mgautam@codeaurora.org>
parent 196a5b7f
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