Commit f0ab1a28 authored by Anel Husakovic's avatar Anel Husakovic Committed by Andrew Hutchings

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

parent fb8c1762
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment