Fix valgrind issue

This commit is contained in:
Igor Canadi 2014-09-08 08:01:25 -07:00
parent 02d5bff393
commit 9360cc690e

View File

@ -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