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

Skip to content
Commit ccc1a043 authored by Aditya Bavanari's avatar Aditya Bavanari
Browse files

dsp: Fix a memory leak issue when nvmem read returns invalid length



When nvmem cell read returns invalid length the allocated buffer
is not freed. Free the buffer in this scenario to fix
memory leak issue.

Change-Id: I2e0010c1cfb2ea03cb4f25abf55e94ce4f0c5fcf
Signed-off-by: default avatarAditya Bavanari <abavanar@codeaurora.org>
parent 123b01c3
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