aafc440e9c
In blob_load_cpl(), spdk_realloc() is called to realloc memory of ctx->pages. If spdk_realloc() return NULL, the ctx->pages is set to NULL without being freed, and then a memleak problem occurs. Signed-off-by: Zhiqiang Liu <liuzhiqiang26@huawei.com> Change-Id: Idf21b690e89beab0245ba57a5de66a4f506d54fb Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8308 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> |
||
---|---|---|
.. | ||
blob_bs_dev.c | ||
blobstore.c | ||
blobstore.h | ||
Makefile | ||
request.c | ||
request.h | ||
spdk_blob.map | ||
zeroes.c |