ba82b412cb
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>