Spdk/lib/bdev/crypto
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
..
Makefile bdev: remove "v" prefix from vbdev library names 2018-11-01 21:25:55 +00:00
vbdev_crypto_rpc.c crypto: fix file permissions 2018-09-28 18:50:16 +00:00
vbdev_crypto.c bdev/crypto: fix error path memory leak in driver init 2019-03-12 05:12:18 +00:00
vbdev_crypto.h crypto: fix file permissions 2018-09-28 18:50:16 +00:00