+12
−13
Loading
Set g_spdk_app.config early in the app init function, so that the subsequently called spdk_app_fini() will free it. So far the dynamicaly allocated config object would be just leaked. Signed-off-by:Darek Stojaczyk <dariusz.stojaczyk@intel.com> Change-Id: I19ffc8bc80858d954166649f825e573f83b4bf53 Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/470734 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com> Reviewed-by:
Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>