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

Skip to content
Commit df9a0511 authored by Fred Oh's avatar Fred Oh
Browse files

ASoC: PCM: fix memory leak issue after dpcm_path_get()



dpcm_path_get() allocates memory and dpcm_path_put() frees it. When
dpcm_get_path() return 0 or less, the function is returned without freeing
the memory.

CRs-fixed: 587950
Change-Id: I25fdbbbc32df72278ee3e9ef71db46d8fbb68b9b
Signed-off-by: default avatarFred Oh <fred@codeaurora.org>
parent 0da8194d
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