Fix bug in reservation monitoring.
In ScopedReservation destructor did Reserve instead of Discard! This is now fixed, and unit tests provided for this and other cases. Also, Storage tests now verify that all memory has been released after the storage is reset. Bug: b:174509632 Change-Id: Ic3594f569f53c103d6ae9c6a73bd030c5f25d698 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2638220 Commit-Queue: Zach Trudo <zatrudo@google.com> Reviewed-by:Zach Trudo <zatrudo@google.com> Auto-Submit: Leonid Baraz <lbaraz@chromium.org> Cr-Commit-Position: refs/heads/master@{#845219}
Showing
Please register or sign in to comment