Commit 2804a3fa authored by Sergei Golubchik's avatar Sergei Golubchik

memory leak: add a missing end_relay_log_info()

parent 786ad0a1
......@@ -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;
......
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