]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
test/kv_store_bench: Fix double free error
authorluo rixin <luorixin@huawei.com>
Sat, 28 Dec 2019 03:17:29 +0000 (11:17 +0800)
committerluo rixin <luorixin@huawei.com>
Thu, 16 Jan 2020 06:25:16 +0000 (14:25 +0800)
commit9d78b5cd201140d8cbb96ab846159724e28407c2
tree797c63446c5317c2a400860054b3b5e181ab235b
parenta3045a7332516577bcb1a8072cec89eb02e55074
test/kv_store_bench: Fix double free error

kvs->aio_xxx is asynchronous function, cb_args will be used and deleted
in aio_callbcak_timed, delete cb_agrs in test_teuthology_aio will cause
double free error.

Signed-off-by: Xuqiang Chen <chenxuqiang3@hisilicon.com>
Signed-off-by: luo rixin <luorixin@huawei.com>
src/test/kv_store_bench.cc