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

Skip to content
Commit f7881cc5 authored by Ravi Aravamudhan's avatar Ravi Aravamudhan Committed by Stephen Boyd
Browse files

diag: Add checks before allocating and freeing memory



Diag driver uses memory pool for internal  buffers. This patch adds
checks for freeing the buffer in a specific mode and while allocating
buffer in all modes.

Change-Id: Ib04f4d722c5cd27e5ef39a1ae65dc74bfe0d136e
Signed-off-by: default avatarRavi Aravamudhan <aravamud@codeaurora.org>
parent f7ea06dd
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