[dpdk-dev] [PATCH v2] baseband/turbo_sw: fix memory leak in error path

Akhil Goyal akhil.goyal at nxp.com
Wed Oct 28 12:29:20 CET 2020


> Subject: [dpdk-dev] [PATCH v2] baseband/turbo_sw: fix memory leak in error
> path
> 
> From: Yunjian Wang <wangyunjian at huawei.com>
> 
> In q_setup() allocated memory for the queue data, we should free
> it when error happens, otherwise it will lead to memory leak.
> 
> Fixes: b8cfe2c9aed2 ("bb/turbo_sw: add software turbo driver")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Yunjian Wang <wangyunjian at huawei.com>
> ---
> v2:
>    fix code styles Chautru Nicolas
Applied to dpdk-next-crypto
Thanks.



More information about the dev mailing list