summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Lindström <jan.lindstrom@mariadb.com>2022-01-11 14:37:30 +0200
committerJan Lindström <jan.lindstrom@mariadb.com>2022-01-18 07:10:48 +0200
commitf43ef9ba3ad846737b98c60b0d54840ee907c3a3 (patch)
treec06d57abc3f157a1bf7f6cc500e13b118f595f4c
parentcf3adaaa9e045e57e0460e48ea77c4f6a700c9ba (diff)
downloadmariadb-git-bb-10.4-MDEV-25494.tar.gz
MDEV-25977 : Warning: Memory not freed: 32 on SET GLOBAL wsrep_sst_auth=USERbb-10.4-MDEV-25494
Add missing wsrep_sst_auth_free call.
-rw-r--r--sql/mysqld.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/mysqld.cc b/sql/mysqld.cc
index 310dcada671..470540fcd1a 100644
--- a/sql/mysqld.cc
+++ b/sql/mysqld.cc
@@ -1763,6 +1763,7 @@ static void close_connections(void)
{
wsrep_deinit(true);
}
+ wsrep_sst_auth_free();
#endif
/* All threads has now been aborted */
DBUG_PRINT("quit", ("Waiting for threads to die (count=%u)", THD_count::value()));