base/allocator: Use the proper Free() in PartitionAlloc tests.
PartitionFree() should not be called on data allocated with PartitionRoot*Generic*Alloc(). This happens to work, but is incorrect. This is part of a larger refactoring of PartitionAlloc (see linked bug). Bug: 1061437, 787153 Change-Id: Iad10ca5c89ed466584c7576958dbf8e77a243b6d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2144139Reviewed-by:Chris Palmer <palmer@chromium.org> Reviewed-by:
Kentaro Hara <haraken@chromium.org> Commit-Queue: Benoit L <lizeb@chromium.org> Cr-Commit-Position: refs/heads/master@{#758757}
Showing
Please register or sign in to comment