[PATCH] soundwire: stream: fix memory leak in stream config error path

Vinod Koul vkoul at kernel.org
Thu Apr 1 09:20:57 CEST 2021


On 31-03-21, 08:46, Bard Liao wrote:
> From: Rander Wang <rander.wang at intel.com>
> 
> When stream config is failed, master runtime will release all
> slave runtime in the slave_rt_list, but slave runtime is not
> added to the list at this time. This patch frees slave runtime
> in the config error path to fix the memory leak.

Applied, thanks

-- 
~Vinod


More information about the Alsa-devel mailing list