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

Commit 998a75ec authored by Chris Lew's avatar Chris Lew Committed by Gerrit - the friendly Code Review server
Browse files

diag: Add error handler to free buffers when fwd fails



Forwarding the data from the MHI layer can fail if USB
or MD is not connected. This change adds an error case
to free the buffers if forwarding the data fails.

CRs-Fixed: 1054875
Change-Id: I49ef2a32ffd731ab2875c941c9d11155f2aba9e2
Signed-off-by: default avatarChris Lew <clew@codeaurora.org>
parent 642eed2c
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