Fix a memory leak in fenced pools.
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user