> -----Original Message-----
> From: Anoob Joseph <[email protected]>
> Sent: Wednesday 17 May 2023 11:55
> To: Akhil Goyal <[email protected]>; Fan Zhang
> <[email protected]>; Power, Ciara <[email protected]>
> Cc: Hemant Agrawal <[email protected]>; Jerin Jacob
> <[email protected]>; Tejasree Kondoj <[email protected]>;
> [email protected]
> 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 <[email protected]>
> ---
> v2:
> * Moved 'ASSERT' to the end to allow cleanup in all cases.
> ---
<snip>

Acked-by: Ciara Power <[email protected]>

Reply via email to