Skip to content

Commit

Permalink
MDEV-20612 fixup: Fix a memory leak in buffer pool resize
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-m committed Feb 16, 2021
1 parent 2e84846 commit e5d83ad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions storage/innobase/lock/lock0lock.cc
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ void lock_sys_t::hash_table::resize(ulint n)
}
}

aligned_free(array);
array= new_array;
n_cells= new_n_cells;
}
Expand Down

0 comments on commit e5d83ad

Please sign in to comment.