Fix valgrind issue

main
Igor Canadi 10 years ago
parent 02d5bff393
commit 9360cc690e
  1. 1
      db/db_impl_debug.cc

@ -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…
Cancel
Save