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 New Issue