Commit dcb111ff authored by unknown's avatar unknown

MWL#116: Efficient group commit: Fix memory leak.

parent ffa7e0fa
......@@ -166,6 +166,7 @@ class binlog_trx_data {
~binlog_trx_data()
{
DBUG_ASSERT(pending() == NULL);
(void) pthread_mutex_destroy(&LOCK_group_commit);
close_cached_file(&trans_log);
}
......
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