numam-spdk/lib/event
Dariusz Stojaczyk f70f4b8568 lib/event: do not clobber g_spdk_app on failed init
This fixes a double free in spdk_app_fini().
If spdk_app_start() failed, the g_spdk_app.config
was becoming a dangling pointer which would be
accessed and freed by spdk_app_fini()

Change-Id: Ifa833f5706d391356df39db4e1c538db7a1c7dcb
Signed-off-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com>
Reviewed-on: https://review.gerrithub.io/404358
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2018-03-23 03:46:50 -04:00
..
rpc subsystem: add per module configuration dump 2018-03-23 02:47:40 -04:00
subsystems nvmf: retrieve namespace UUID from bdev 2018-03-20 17:18:44 -04:00
app.c lib/event: do not clobber g_spdk_app on failed init 2018-03-23 03:46:50 -04:00
Makefile build: remove $(ENV_CFLAGS) where not necessary 2018-01-03 12:05:59 -05:00
reactor.c io_channel: add return value to pollers 2018-03-13 11:16:20 -04:00
rpc.c io_channel: add return value to pollers 2018-03-13 11:16:20 -04:00
subsystem.c subsystem: add per module configuration dump 2018-03-23 02:47:40 -04:00