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

Skip to content
Commit c06a3b91 authored by Hardik Arya's avatar Hardik Arya Committed by Gerrit - the friendly Code Review server
Browse files

diag: Set buffer to NULL after freeing from mempool



Currently we are not marking buffer as NULL after
freeing from mempool, which can cause to double free
when multiple threads are trying to free same mempool
buffer. The patch marks buffer as NULL after freeing.

Change-Id: I47129e38eb68bd50a262a791340add524db80209
Signed-off-by: default avatarHardik Arya <harya@codeaurora.org>
parent 51683be8
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