Fix valgrind issue
This commit is contained in:
parent
02d5bff393
commit
9360cc690e
@ -155,6 +155,7 @@ void* DBImpl::TEST_BeginWrite() {
|
||||
void DBImpl::TEST_EndWrite(void* w) {
|
||||
auto writer = reinterpret_cast<Writer*>(w);
|
||||
EndWrite(writer, writer, Status::OK());
|
||||
delete writer;
|
||||
}
|
||||
|
||||
} // namespace rocksdb
|
||||
|
Loading…
Reference in New Issue
Block a user