On Tue, Jul 15, 2025 at 12:31:09AM +, Jiasheng Jiang wrote:
> Add av_freep() to free new_elem to avoid memory leak.
>
> Fixes: 3ca1e31e63 ("fftools/cmdutils: Atomically add elements to list of
> pointers, fix crash")
> Signed-off-by: Jiasheng Jiang
> ---
> Changelog:
>
> v2 -> v3:
>
> 1. R
Add av_freep() to free new_elem to avoid memory leak.
Fixes: 3ca1e31e63 ("fftools/cmdutils: Atomically add elements to list of
pointers, fix crash")
Signed-off-by: Jiasheng Jiang
---
Changelog:
v2 -> v3:
1. Replace with a correct fixes tag.
v1 -> v2:
1. Remove the unnecessary return NULL.
--