diff --git a/sql/log_event.cc b/sql/log_event.cc index ced262657fbae..21b5de2725e01 100644 --- a/sql/log_event.cc +++ b/sql/log_event.cc @@ -7107,6 +7107,7 @@ Gtid_list_log_event::do_apply_event(rpl_group_info *rgi) rli->abort_slave= true; rli->stop_for_until= true; } + free_root(thd->mem_root, MYF(MY_KEEP_PREALLOC)); return ret; }