Commit 838bb9fa authored by Eugene Kosov's avatar Eugene Kosov

fix Galera memory leak

This was caused by 7f2cfa8f
parent 02a0ebc6
...@@ -115,13 +115,6 @@ void Master_info::wait_until_free() ...@@ -115,13 +115,6 @@ void Master_info::wait_until_free()
Master_info::~Master_info() Master_info::~Master_info()
{ {
wait_until_free(); wait_until_free();
#ifdef WITH_WSREP
/*
Do not free "wsrep" rpl_filter. It will eventually be freed by
free_all_rpl_filters() when server terminates.
*/
if (strncmp(connection_name.str, STRING_WITH_LEN("wsrep")))
#endif
my_free(connection_name.str); my_free(connection_name.str);
delete_dynamic(&ignore_server_ids); delete_dynamic(&ignore_server_ids);
mysql_mutex_destroy(&run_lock); mysql_mutex_destroy(&run_lock);
......
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