MDEV-30697: Memory leak detected when mariadb-binlog is used with option flashback
This commit is contained in:
parent
fb8c1762ad
commit
f0ab1a28c9
@ -1887,6 +1887,11 @@ static void cleanup()
|
|||||||
my_free_open_file_info();
|
my_free_open_file_info();
|
||||||
load_processor.destroy();
|
load_processor.destroy();
|
||||||
mysql_server_end();
|
mysql_server_end();
|
||||||
|
if (opt_flashback)
|
||||||
|
{
|
||||||
|
delete_dynamic(&binlog_events);
|
||||||
|
delete_dynamic(&events_in_stmt);
|
||||||
|
}
|
||||||
DBUG_VOID_RETURN;
|
DBUG_VOID_RETURN;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user