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

Skip to content
Commit cfc60f45 authored by Yuanyuan Liu's avatar Yuanyuan Liu
Browse files

icnss: Free regread buffer before allocating new one



Free already allocated buffer before allocating new one
to avoid memory leak when someone keep writing to this file
but never read it.

CRs-Fixed: 2051862
Change-Id: I29784fb30ea8eed315b7d073d35480972642bc55
Signed-off-by: default avatarYuanyuan Liu <yuanliu@codeaurora.org>
parent 3d82d664
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