blob: free the blob in error case
Change-Id: I645e01123949fc4707509d0626f8a5327b7bdd3c Signed-off-by: Ziye Yang <ziye.yang@intel.com>
This commit is contained in:
parent
3f7f19cb36
commit
66aabffcae
@ -1902,6 +1902,7 @@ spdk_bs_md_delete_blob(struct spdk_blob_store *bs, spdk_blob_id blobid,
|
||||
seq = spdk_bs_sequence_start(bs->md_channel, &cpl);
|
||||
if (!seq) {
|
||||
cb_fn(cb_arg, -ENOMEM);
|
||||
_spdk_blob_free(blob);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user