Loading
bdevperf: fixed memory 'double free'
Fixed issue detected by Coverity scan. The memory allocated for 'config' structure could be freed twice in some cases. Now, when a memory for 'config ' is freed, the pointer is set to NULL. If free(config) will be called second time, it will take no action. Change-Id: I1bd3f8b17503feae5975afbae9d96ad6ce19b67e Signed-off-by:Marcin Spiewak <marcin.spiewak@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/19974 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by:
Krzysztof Karas <krzysztof.karas@intel.com> Community-CI: Mellanox Build Bot Reviewed-by:
Tomasz Zawadzki <tomasz.zawadzki@intel.com>