Fixed memory leak if Aria didn't start

This is not crtitical as if Aria doesn't start, the server will exit at once.
This commit is contained in:
Monty 2020-04-23 14:24:52 +03:00
parent d1c3342d07
commit 9398c3dfa5

View File

@ -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;