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

Commit fdfa87a6 authored by Mohit Aggarwal's avatar Mohit Aggarwal
Browse files

diag: Rectify possible double free in memory device mode



Currently, there is a possibility of double freeing the
buffer in memory device mode. This patch protects the
buffer properly and also does the required cleanup once
buffer will be freed.

Change-Id: Ia016884bff4d41f2f8c59a547bd00a862c477e01
Signed-off-by: default avatarMohit Aggarwal <maggarwa@codeaurora.org>
parent a697a17d
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