> -----Original Message-----
> From: Anoob Joseph <ano...@marvell.com>
> Sent: Wednesday 17 May 2023 11:55
> To: Akhil Goyal <gak...@marvell.com>; Fan Zhang
> <fanzhang....@gmail.com>; Power, Ciara <ciara.po...@intel.com>
> Cc: Hemant Agrawal <hemant.agra...@nxp.com>; Jerin Jacob
> <jer...@marvell.com>; Tejasree Kondoj <ktejas...@marvell.com>;
> dev@dpdk.org
> Subject: [PATCH v2] test/crypto: free memory in error and skip paths
> 
> In multi session tests, multiple sessions get created. So the handling in
> ut_teardown won't guard against any memory that is not freed by the test
> case. Test case should free sessions as well as local memory that was used to
> save session pointers both in case of unsupported cases as well as operation
> failures.
> 
> Signed-off-by: Anoob Joseph <ano...@marvell.com>
> ---
> v2:
> * Moved 'ASSERT' to the end to allow cleanup in all cases.
> ---
<snip>

Acked-by: Ciara Power <ciara.po...@intel.com>

Reply via email to