Merge pull request #43346 from hjwsm1989/fix-52765

tools/ceph-kvstore-tool: fix segfaults when repair the rocksdb

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
This commit is contained in:
Kefu Chai 2021-10-10 09:42:03 +08:00 committed by GitHub
commit 8f8ee5d29e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,8 +42,8 @@ StoreTool::StoreTool(const string& type,
<< cpp_strerror(r) << std::endl;
exit(1);
}
db.reset(db_ptr);
}
db.reset(db_ptr);
}
}