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

2021-04-01 Thread Vinod Koul
On 31-03-21, 08:46, Bard Liao wrote: > From: Rander Wang > > 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 l

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

2021-03-30 Thread Bard Liao
From: Rander Wang 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. Fixes: bbe7379d8040a ("soundwire: Add suppo