module/crypto: fix one missing free() in error path
Signed-off-by: paul luse <paul.e.luse@intel.com> Change-Id: I28b6c149ea341bbacf0d884c1bb0a7287076c9c9 Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/483530 Community-CI: SPDK CI Jenkins <sys_sgci@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Alexey Marchuk <alexeymar@mellanox.com>
This commit is contained in:
parent
1880df4daf
commit
946853736a
@ -1437,6 +1437,7 @@ vbdev_crypto_insert_name(const char *bdev_name, const char *vbdev_name,
|
||||
|
||||
/* Error cleanup paths. */
|
||||
error_invalid_key:
|
||||
free(name->key);
|
||||
error_alloc_key:
|
||||
error_invalid_pmd:
|
||||
free(name->drv_name);
|
||||
|
Loading…
Reference in New Issue
Block a user