diff options
author | Sergei Golubchik <serg@mariadb.org> | 2017-07-27 12:42:21 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2017-07-27 12:42:21 +0200 |
commit | 2804a3fac47a418bd4495463e25fc5c10b7f3e76 (patch) | |
tree | 6e909cc50a82e16480f6d40c0f8cdf166edb1f74 /sql/rpl_mi.cc | |
parent | 786ad0a158f92eae0d65b02f34e864a7bbd8390e (diff) | |
download | mariadb-git-2804a3fac47a418bd4495463e25fc5c10b7f3e76.tar.gz |
memory leak: add a missing end_relay_log_info()
Diffstat (limited to 'sql/rpl_mi.cc')
-rw-r--r-- | sql/rpl_mi.cc | 1 |
1 files changed, 1 insertions, 0 deletions
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; |