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:
Chris Lew <clew@codeaurora.org>
Loading
Please register or sign in to comment