Skip to content

Commit

Permalink
Fixed memory leak if Aria didn't start
Browse files Browse the repository at this point in the history
This is not crtitical as if Aria doesn't start, the server will exit at once.
  • Loading branch information
montywi committed Apr 23, 2020
1 parent d1c3342 commit 9398c3d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions storage/maria/ha_maria.cc
Expand Up @@ -3663,7 +3663,10 @@ static int ha_maria_init(void *p)
maria_assert_if_crashed_table= debug_assert_if_crashed_table;

if (res)
{
maria_hton= 0;
maria_panic(HA_PANIC_CLOSE);
}

ma_killed= ma_killed_in_mariadb;

Expand Down

0 comments on commit 9398c3d

Please sign in to comment.