diff options
author | Daniele Sciascia <daniele.sciascia@galeracluster.com> | 2017-10-05 11:41:02 +0200 |
---|---|---|
committer | Jan Lindström <jan.lindstrom@mariadb.com> | 2017-10-19 09:35:17 +0300 |
commit | 38530c86aa36e2cbd315447a5362bcc751fb9205 (patch) | |
tree | e7cdb211565beab691d6f0ba2417f93bf98fbb92 /sql | |
parent | 2864c37d6c5d4c13472438863d513d0ea8b9063c (diff) | |
download | mariadb-git-38530c86aa36e2cbd315447a5362bcc751fb9205.tar.gz |
MW-415 THD::COND_wsrep_thd is never destroyed
THD::COND_wsrep_thd is never destroyed. This patch adds missing call
to mysql_cond_destroy(&COND_wsrep_thd) in THD::release_resources().
Diffstat (limited to 'sql')
-rw-r--r-- | sql/sql_class.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_class.cc b/sql/sql_class.cc index d540abb276c..1398fdff94f 100644 --- a/sql/sql_class.cc +++ b/sql/sql_class.cc @@ -1693,6 +1693,7 @@ THD::~THD() mysql_mutex_lock(&LOCK_wsrep_thd); mysql_mutex_unlock(&LOCK_wsrep_thd); mysql_mutex_destroy(&LOCK_wsrep_thd); + mysql_cond_destroy(&COND_wsrep_thd); if (wsrep_rli) delete wsrep_rli; if (wsrep_status_vars) wsrep->stats_free(wsrep, wsrep_status_vars); #endif |