Fix memory leak in memory tracking code (#28222)

pull/28225/head
Craig Tiller 3 years ago committed by GitHub
parent f04eedd922
commit 770d304d9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      src/core/lib/resource_quota/memory_quota.cc

@ -80,6 +80,7 @@ ReclamationFunction ReclaimerQueue::Cancel(
Entry& entry = entries_[index];
if (entry.allocator.get() != allocator) return {};
entry.allocator.reset();
free_entries_.push_back(index);
return std::move(entry.reclaimer);
}

Loading…
Cancel
Save