aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorPatrick Lai <[email protected]>2014-03-02 11:52:57 -0800
committerMark Brown <[email protected]>2014-03-05 11:40:39 +0800
commite4ad1accb28d0ed8cea6f12395d58686ad344ca7 (patch)
tree7171abea1ce01772195cac36daeb67c0301057da /lib/memory-notifier-error-inject.c
parent38dbfb59d1175ef458d006556061adeaa8751b72 (diff)
ASoC: pcm: free path list before exiting from error conditions
dpcm_path_get() allocates dynamic memory to hold path list. Corresponding dpcm_path_put() must be called to free the memory. dpcm_path_put() is not called under several error conditions. This leads to memory leak. Signed-off-by: Patrick Lai <[email protected]> Signed-off-by: Mark Brown <[email protected]> Cc: [email protected]
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions