Skip to content

Commit 838bb9f

Browse files
committed
fix Galera memory leak
This was caused by 7f2cfa8
1 parent 02a0ebc commit 838bb9f

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

sql/rpl_mi.cc

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -115,13 +115,6 @@ void Master_info::wait_until_free()
115115
Master_info::~Master_info()
116116
{
117117
wait_until_free();
118-
#ifdef WITH_WSREP
119-
/*
120-
Do not free "wsrep" rpl_filter. It will eventually be freed by
121-
free_all_rpl_filters() when server terminates.
122-
*/
123-
if (strncmp(connection_name.str, STRING_WITH_LEN("wsrep")))
124-
#endif
125118
my_free(connection_name.str);
126119
delete_dynamic(&ignore_server_ids);
127120
mysql_mutex_destroy(&run_lock);

0 commit comments

Comments
 (0)