Commit f629f535 authored by Nirbhay Choubey's avatar Nirbhay Choubey

Fix memory leak in XtraDB.

parent 94a61838
......@@ -68,7 +68,6 @@ push @::global_suppressions,
qr|WSREP: gcs_caused\(\) returned .*|,
qr|WSREP: Protocol violation. JOIN message sender .* is not in state transfer \(SYNCED\). Message ignored.|,
qr(WSREP: Action message in non-primary configuration from member [0-9]*),
qr(InnoDB: Some resources were not cleaned up in shutdown.*),
);
......
......@@ -29,7 +29,6 @@ push @::global_suppressions,
qr(WSREP: option --wsrep-causal-reads is deprecated),
qr(WSREP: --wsrep-causal-reads=ON takes precedence over --wsrep-sync-wait=0),
qr|WSREP: access file\(.*gvwstate.dat\) failed\(No such file or directory\)|,
qr(InnoDB: Some resources were not cleaned up in shutdown.*),
);
$ENV{PATH}="$epath:$ENV{PATH}";
......
......@@ -1209,6 +1209,9 @@ 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);
}
......
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