[PATCH 1/2] test/crypto: free memory in error and skip paths

Akhil Goyal gakhil at marvell.com
Tue May 16 12:06:34 CEST 2023


> Subject: [PATCH 1/2] 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 <anoobj at marvell.com>
Acked-by: Akhil Goyal <gakhil at marvell.com>

Thanks for the cleanup


More information about the dev mailing list