commit | 77a6a9d60461e36499304aa7a95af30512675114 | [log] [tgz] |
---|---|---|
author | aarongreen <aarongreen@google.com> | Sun Oct 01 19:23:29 2023 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Sun Oct 01 19:23:29 2023 +0000 |
tree | 944a5dfcba0a5e47f5331c89db99caf476322488 | |
parent | 5dfd9f5d63c10c8169745235d9c9ff69104af303 [diff] |
pw_allocator: Move Resize assertion This CL moves an assertion within `DoResize` that checks whether the currently used memory is greater than the old size of the memory is being modified to after the point at which `ResizeUnchecked` is known to have succeeded. Change-Id: I4fdab438a21c27035317472e071205ddf86da8d2 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/173614 Reviewed-by: Wyatt Hepler <hepler@google.com> Reviewed-by: Taylor Cramer <cramertj@google.com> Commit-Queue: Aaron Green <aarongreen@google.com>
Pigweed is an open source collection of embedded-targeted libraries–or as we like to call them, modules. These modules are building blocks and infrastructure that enable faster and more reliable development on small-footprint MMU-less 32-bit microcontrollers like the STMicroelectronics STM32L452 or the Nordic nRF52832.
For more information please see our website: https://pigweed.dev/.