From 2804a3fac47a418bd4495463e25fc5c10b7f3e76 Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Thu, 27 Jul 2017 12:42:21 +0200 Subject: memory leak: add a missing end_relay_log_info() --- sql/rpl_mi.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'sql/rpl_mi.cc') diff --git a/sql/rpl_mi.cc b/sql/rpl_mi.cc index 7cb093c9026..c810e030bf2 100644 --- a/sql/rpl_mi.cc +++ b/sql/rpl_mi.cc @@ -747,6 +747,7 @@ void free_key_master_info(Master_info *mi) /* We use 2 here instead of 1 just to make it easier when debugging */ mi->killed= 2; end_master_info(mi); + end_relay_log_info(&mi->rli); mi->unlock_slave_threads(); delete mi; -- cgit v1.2.1