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().
This commit is contained in:
Daniele Sciascia 2017-10-05 11:41:02 +02:00 committed by Jan Lindström
parent 2864c37d6c
commit 38530c86aa

View File

@ -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