Commit 10880d67 authored by Nirbhay Choubey's avatar Nirbhay Choubey

Postfix: memory leak in XtraDB

parent f629f535
......@@ -1209,13 +1209,14 @@ srv_free(void)
os_event_free(srv_buf_dump_event);
os_event_free(srv_checkpoint_completed_event);
os_event_free(srv_redo_log_tracked_event);
#ifdef WITH_INNODB_DISALLOW_WRITES
os_event_free(srv_allow_writes_event);
#endif /* WITH_INNODB_DISALLOW_WRITES */
mutex_free(&srv_sys->mutex);
mutex_free(&srv_sys->tasks_mutex);
}
#ifdef WITH_INNODB_DISALLOW_WRITES
os_event_free(srv_allow_writes_event);
#endif /* WITH_INNODB_DISALLOW_WRITES */
#ifndef HAVE_ATOMIC_BUILTINS
mutex_free(&server_mutex);
#endif
......
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