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

Skip to content
Commit 1c29f2f1 authored by Hardik Arya's avatar Hardik Arya
Browse files

diag: Mark global buffer NULL after freeing from mempool



Currently we are not marking buffer as NULL after freeing
from mempool which is causing double free of data buffer.
The patch marks global hdlc and non_hdlc data buffer as
NULL after freeing it from mempool.

Change-Id: I5f389cfbb981a6e5d0c880c2112f7e4cf2cae433
Signed-off-by: default avatarHardik Arya <harya@codeaurora.org>
parent c93d9386
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment