From: Patrick Lai Date: Sun, 2 Mar 2014 19:52:57 +0000 (-0800) Subject: ASoC: pcm: free path list before exiting from error conditions X-Git-Tag: v3.14-rc7~13^2^2~1^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e4ad1accb28d0ed8cea6f12395d58686ad344ca7;p=pandora-kernel.git 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 Signed-off-by: Mark Brown Cc: stable@vger.kernel.org --- Reading git-diff-tree failed