Skip to content

Commit

Permalink
Plug a memory leak
Browse files Browse the repository at this point in the history
  • Loading branch information
svoj authored and dr-m committed Jan 24, 2018
1 parent 9875d5c commit 4575ae7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions storage/innobase/trx/trx0trx.cc
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,7 @@ struct TrxFactory {
trx->lock.table_locks.~lock_pool_t();

trx->hit_list.~hit_list_t();
trx->read_view.~ReadView();
}

/** Enforce any invariants here, this is called before the transaction
Expand Down

0 comments on commit 4575ae7

Please sign in to comment.