Commit f89c5463 authored by Shalabh Jain's avatar Shalabh Jain Committed by Bryan Huntsman
Browse files

diag: Avoid memory leak



DIAG allocates memory to read from SMD channel. if for some reason,
the read function is to be exited, the allocated memory should be
released.

Signed-off-by: default avatarShalabh Jain <shalabhj@codeaurora.org>
parent a8e5ecbc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment