diff --git a/db/write_batch.cc b/db/write_batch.cc index 9dee47c5f..d70014f0a 100644 --- a/db/write_batch.cc +++ b/db/write_batch.cc @@ -980,6 +980,7 @@ class MemTableInserter : public WriteBatch::Handler { reinterpret_cast (&mem_post_info_map_)->~MemPostInfoMap(); } + delete rebuilding_trx_; } MemTableInserter(const MemTableInserter&) = delete;