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:
Fred Oh <fred@codeaurora.org>
Loading
Please register or sign in to comment