[EXT] [PATCH] app/crypto-perf: fix test file memory leak
Akhil Goyal
gakhil at marvell.com
Sat Mar 11 20:02:31 CET 2023
> A memory leak was detected using the AddressSanitizer tool,
> when running the crypto-perf application with a test vector file.
>
> The strdup function used returns a pointer to a null-terminated byte
> string, which must be freed after use. This patch frees the pointer in
> an error case, and also after a successful run.
>
> Fixes: f8be1786b1b8 ("app/crypto-perf: introduce performance test
> application")
> Cc: stable at dpdk.org
>
> Signed-off-by: Ciara Power <ciara.power at intel.com>
Acked-by: Akhil Goyal <gakhil at marvell.com>
Applied to dpdk-next-crypto
More information about the stable
mailing list