Re: [dpdk-dev] [PATCH v1 1/2] examples/fips_validation: fix unused malloc

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 ; damianx.no...@intel.com; Kovacevic, > Marko > Subject: [PATCH v1 1/2] examples/fips_validation: fix unused malloc > > The val.va

[dpdk-dev] [PATCH v1 1/2] examples/fips_validation: fix unused malloc

2021-08-12 Thread Ciara Power
The val.val pointer is allocated memory, however this memory is then freed in get_writeback_data() without being used beforehand. The pointer is then allocated memory again before use, so the very first allocation is removed as it was unnecessary. Fixes: f4797bae0050 ("examples/fips_validation: su