Skip to content

Commit

Permalink
Fix valgrind issue
Browse files Browse the repository at this point in the history
  • Loading branch information
igorcanadi committed Sep 8, 2014
1 parent 02d5bff commit 9360cc6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions db/db_impl_debug.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9360cc6

Please sign in to comment.