Re: [dpdk-dev] [PATCH v1 2/2] examples/fips_validation: fix resetting pointer

2021-08-16 Thread Zhang, Roy Fan
> -Original Message- > From: Power, Ciara > Sent: Thursday, August 12, 2021 3:25 PM > To: dev@dpdk.org > Cc: sta...@dpdk.org; Zhang, Roy Fan ; Power, > Ciara ; Kovacevic, Marko > > Subject: [PATCH v1 2/2] examples/fips_validation: fix resetting pointer > > The env.digest memory was freed

[dpdk-dev] [PATCH v1 2/2] examples/fips_validation: fix resetting pointer

2021-08-12 Thread Ciara Power
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: roy.fan.zh...@intel.com Cc: sta...@dpdk.org Signed-off-by: