MDEV-30697: Memory leak detected when mariadb-binlog is used with option flashback

This commit is contained in:
Anel Husakovic 2023-02-20 14:10:53 +01:00 committed by Andrew Hutchings
parent fb8c1762ad
commit f0ab1a28c9

View File

@ -1887,6 +1887,11 @@ static void cleanup()
my_free_open_file_info();
load_processor.destroy();
mysql_server_end();
if (opt_flashback)
{
delete_dynamic(&binlog_events);
delete_dynamic(&events_in_stmt);
}
DBUG_VOID_RETURN;
}