Re: [dpdk-dev] [PATCH v2] examples/fips_validation: fix resource leak on failure

2020-10-31 Thread David Marchand
On Fri, Oct 30, 2020 at 6:36 PM Ciara Power wrote: > > The wb_data variable went out of scope on failure in the > get_writeback_data function. This is now freed before returning -1. > > Coverity issue: 363453 > Fixes: 952e10cdad5e ("examples/fips_validation: support scatter gather list") > > Signe

[dpdk-dev] [PATCH v2] examples/fips_validation: fix resource leak on failure

2020-10-30 Thread Ciara Power
The wb_data variable went out of scope on failure in the get_writeback_data function. This is now freed before returning -1. Coverity issue: 363453 Fixes: 952e10cdad5e ("examples/fips_validation: support scatter gather list") Cc: roy.fan.zh...@intel.com Signed-off-by: Ciara Power --- v2: Fixed