+2
−2
Loading
App stop can be called multiple times and there is a flag to protect against that however free of the json data was the very first thing to be done hence chance for double free there. Fix by moving free after the flag checked. Change-Id: I85057e556c28dafb82883d80899fcc71bb2f9802 Signed-off-by:Jacek Kalwas <jacek.kalwas@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/24725 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Konrad Sztyber <konrad.sztyber@intel.com> Community-CI: Mellanox Build Bot Reviewed-by:
Jim Harris <jim.harris@samsung.com>