mirror of
https://github.com/xenia-project/xenia.git
synced 2025-12-06 07:12:03 +01:00
Fix a memory leak in fenced pools.
This commit is contained in:
parent
7004f83665
commit
c6e905db2f
|
|
@ -158,6 +158,7 @@ class BaseFencedPool {
|
||||||
}
|
}
|
||||||
if (pending_batch_list_tail_) {
|
if (pending_batch_list_tail_) {
|
||||||
pending_batch_list_tail_->next = batch;
|
pending_batch_list_tail_->next = batch;
|
||||||
|
pending_batch_list_tail_ = batch;
|
||||||
} else {
|
} else {
|
||||||
pending_batch_list_tail_ = batch;
|
pending_batch_list_tail_ = batch;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue