Spdk/test/unit/lib
paul luse ba82b412cb bdev/crypto: fix error path memory leak in driver init
This patch refactors driver init and in doing so eliminates the mem
leak described in the GitHub issue.  Also it is now consistent with
how the pending compression driver does init.

Fixes #633

Change-Id: Ia2d55d9e98fb9470ff8f9b34aeb4ee9f3d0478f5
Signed-off-by: paul luse <paul.e.luse@intel.com>
Reviewed-on: https://review.gerrithub.io/c/442896
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2019-02-20 20:22:16 +00:00
..
bdev bdev/crypto: fix error path memory leak in driver init 2019-02-20 20:22:16 +00:00
blob thread: Optionally allow the current time to be passed to 2019-02-11 22:58:45 +00:00
blobfs thread: Optionally allow the current time to be passed to 2019-02-11 22:58:45 +00:00
event test/unit: remove duplicate mk/spdk.common.mk includes 2019-02-11 09:30:27 +00:00
ftl test/unit/ftl: Add module unit tests for relocate 2019-02-13 18:48:35 +00:00
ioat test/unit: remove duplicate mk/spdk.common.mk includes 2019-02-11 09:30:27 +00:00
iscsi test/unit: remove duplicate mk/spdk.common.mk includes 2019-02-11 09:30:27 +00:00
json json: add utilities function enabling itaration over JSON object 2018-10-18 16:07:37 +00:00
jsonrpc jsonrpc: fix received JSON buffer overwrite 2019-01-10 14:31:37 +00:00
log test/unit: remove duplicate mk/spdk.common.mk includes 2019-02-11 09:30:27 +00:00
lvol test/unit: remove duplicate mk/spdk.common.mk includes 2019-02-11 09:30:27 +00:00
nvme nvme: make the completion status string accessible from external applications 2019-02-15 21:11:28 +00:00
nvmf NVMe-oF: add asserts for SGE counts 2019-02-12 23:34:20 +00:00
reduce test/unit: remove duplicate mk/spdk.common.mk includes 2019-02-11 09:30:27 +00:00
scsi scsi: Use spdk_bdev_writev_blocks instead of spdk_bdev_writev 2019-02-20 20:17:56 +00:00
sock test/unit: remove duplicate mk/spdk.common.mk includes 2019-02-11 09:30:27 +00:00
thread test/unit: remove duplicate mk/spdk.common.mk includes 2019-02-11 09:30:27 +00:00
util test: use test_env for bit_array_ut 2019-02-11 09:30:27 +00:00
vhost test/unit: remove duplicate mk/spdk.common.mk includes 2019-02-11 09:30:27 +00:00
json_mock.c subsystem: add per module configuration dump 2018-03-23 02:47:40 -04:00
Makefile ftl: Added unit tests for FTL library 2019-01-22 23:22:16 +00:00