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

Commit 67b38b04 authored by Yajun Li's avatar Yajun Li
Browse files

soc: hab: Fix a memory leakage when unexport



When the remote vchan is closed and unexport happens
in local at the same time, function hab_get_vchan_fromvcid
will return null in hab unexport, which will cause memory leak.

Change-Id: I8dac4f4154f24734dc2a11aa73f726cd705cc291
Signed-off-by: default avatarYajun Li <yajunl@codeaurora.org>
parent 32782582
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