Spdk/lib/ublk
Liu Xiaodong 827a01135c ublk: fix the memory release of ublk_io
Add function named ublk_ios_fini() to release memories
allocated in ublk_ios_init().
Fix the incorrect memory release for the failure inside
ublk_ios_init() by ublk_ios_fini().
Also move the memory release of ublk_io into function
ublk_delete_dev() instead of ublk_close_dev_done(). This
will be used by next patch.

Change-Id: I5c3fc31a4d7114e17fb86fc6facc8cccea27d6e7
Signed-off-by: Liu Xiaodong <xiaodong.liu@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/16442
Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2023-01-26 02:41:06 +00:00
..
Makefile so_ver: increase all major versions 2023-01-24 08:37:21 +00:00
spdk_ublk.map ublk: add configure and event/subsystem 2023-01-20 07:48:25 +00:00
ublk_internal.h ublk: add an rpc method to get current ublk devices 2023-01-20 07:48:25 +00:00
ublk_rpc.c ublk: add an rpc method to get current ublk devices 2023-01-20 07:48:25 +00:00
ublk.c ublk: fix the memory release of ublk_io 2023-01-26 02:41:06 +00:00