Skip to content

Commit f629f53

Browse files
author
Nirbhay Choubey
committed
Fix memory leak in XtraDB.
1 parent 94a6183 commit f629f53

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

mysql-test/suite/galera/suite.pm

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ push @::global_suppressions,
6868
qr|WSREP: gcs_caused\(\) returned .*|,
6969
qr|WSREP: Protocol violation. JOIN message sender .* is not in state transfer \(SYNCED\). Message ignored.|,
7070
qr(WSREP: Action message in non-primary configuration from member [0-9]*),
71-
qr(InnoDB: Some resources were not cleaned up in shutdown.*),
7271
);
7372

7473

mysql-test/suite/wsrep/suite.pm

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ push @::global_suppressions,
2929
qr(WSREP: option --wsrep-causal-reads is deprecated),
3030
qr(WSREP: --wsrep-causal-reads=ON takes precedence over --wsrep-sync-wait=0),
3131
qr|WSREP: access file\(.*gvwstate.dat\) failed\(No such file or directory\)|,
32-
qr(InnoDB: Some resources were not cleaned up in shutdown.*),
3332
);
3433

3534
$ENV{PATH}="$epath:$ENV{PATH}";

storage/xtradb/srv/srv0srv.cc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1209,6 +1209,9 @@ srv_free(void)
12091209
os_event_free(srv_buf_dump_event);
12101210
os_event_free(srv_checkpoint_completed_event);
12111211
os_event_free(srv_redo_log_tracked_event);
1212+
#ifdef WITH_INNODB_DISALLOW_WRITES
1213+
os_event_free(srv_allow_writes_event);
1214+
#endif /* WITH_INNODB_DISALLOW_WRITES */
12121215
mutex_free(&srv_sys->mutex);
12131216
mutex_free(&srv_sys->tasks_mutex);
12141217
}

0 commit comments

Comments
 (0)