Skip to content

Commit

Permalink
PS-269 (Initial Percona Server 8.0.12 tree)
Browse files Browse the repository at this point in the history
Plug a memory leak in log_online_read_init introduced by a rewrite in
8.0 to use my_dir: use my_dirend.
  • Loading branch information
laurynas-biveinis authored and inikep committed Jun 7, 2022
1 parent c370c21 commit 0c20cfa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions storage/innobase/log/log0online.cc
Original file line number Diff line number Diff line change
Expand Up @@ -565,6 +565,7 @@ that's the cwd */
log_bmp_sys->out.name[FN_REFLEN - 1] = '\0';
}
}
my_dirend(bitmap_dir);

if (!log_bmp_sys->out_seq_num) {
log_bmp_sys->out_seq_num = 1;
Expand Down

0 comments on commit 0c20cfa

Please sign in to comment.