examples/fips_validation: fix resetting pointer
authorCiara Power <ciara.power@intel.com>
Thu, 12 Aug 2021 14:24:35 +0000 (14:24 +0000)
committerAkhil Goyal <gakhil@marvell.com>
Fri, 8 Oct 2021 19:31:07 +0000 (21:31 +0200)
commit15bb59a5ebb7fdf4de18fdf11ba2f9b3a8ee9c32
treea10c0cb7403da4ec214c4b917bdd589c344e9759
parent25d392e1999b3d766f3a9f142372cc1220fa2c97
examples/fips_validation: fix resetting pointer

The env.digest memory was freed, but the pointer was not set to NULL
afterwards. This caused an "Invalid Memory" error, as the pointer tries
to free twice.

Fixes: 952e10cdad5e ("examples/fips_validation: support scatter gather list")
Cc: stable@dpdk.org
Signed-off-by: Ciara Power <ciara.power@intel.com>
Acked-by: Fan Zhang <roy.fan.zhang@intel.com>
examples/fips_validation/main.c