Spdk/test/unit/lib
paul luse 8d31df3061 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 (master)
Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/447607
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
2019-03-12 05:12:18 +00:00
..
bdev bdev/crypto: fix error path memory leak in driver init 2019-03-12 05:12:18 +00:00
blob thread: Simplify two unit tests with nested poll calls 2019-01-21 13:54:46 +00:00
blobfs thread: Simplify two unit tests with nested poll calls 2019-01-21 13:54:46 +00:00
event test/unit/app_ut: fix potential leak of memory 2019-03-08 19:03:31 +00:00
ftl test/unit/ftl: Fix rwb_parallel unit test 2019-01-24 18:55:56 +00:00
ioat pci: remove ioat-specific attach functions 2018-12-07 17:24:19 +00:00
iscsi iscsi: properly handle partial keys 2019-01-29 17:44:12 +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 build: remove duplicate spdk.app.mk includes 2018-12-11 18:07:53 +00:00
lvol lvol: add option to change default data erase method 2019-01-23 22:25:37 +00:00
nvme test/unit: remove unnecessary mock definitions 2019-01-13 00:48:20 +00:00
nvmf test/rdma_ut: fix valgrind issue. 2019-03-08 22:00:07 +00:00
reduce reduce: remove close callback 2019-01-16 22:25:13 +00:00
scsi thread: Rename spdk_thread_msg to spdk_msg_fn 2018-12-18 23:31:08 +00:00
sock UT: fix the sock_ut failure because of the port conflict 2019-01-22 17:28:24 +00:00
thread thread: Rename spdk_free_thread to spdk_thread_exit 2019-01-17 11:24:38 +00:00
util string: spdk_strtol to delegate additional error checking 2019-01-29 00:10:57 +00:00
vhost vhost: allow multiple sessions per device 2019-01-24 17:37:03 +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