Skip to content

Commit

Permalink
Fix memory leak in XtraDB.
Browse files Browse the repository at this point in the history
  • Loading branch information
Nirbhay Choubey committed Jun 27, 2016
1 parent 94a6183 commit f629f53
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion mysql-test/suite/galera/suite.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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.*),
);


Expand Down
1 change: 0 additions & 1 deletion mysql-test/suite/wsrep/suite.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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}";
Expand Down
3 changes: 3 additions & 0 deletions storage/xtradb/srv/srv0srv.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit f629f53

Please sign in to comment.