base/memory: better reporting of aligned memory allocation errors.
posix_memalign() returns an error value when it fails, but that value is not forwarded to the user despite being valuable to understand what the underlying problem of a failed allocation is. Make sure to display the error code. Chrome OS. Bug: 918509 Test: Checked that software video decoding was still working on Change-Id: I508d6cc6332a1a5c29e8f3cece56272969e99dcc Reviewed-on: https://chromium-review.googlesource.com/c/1424108 Commit-Queue: Alexandre Courbot <acourbot@chromium.org> Reviewed-by:danakj <danakj@chromium.org> Reviewed-by:
Dale Curtis <dalecurtis@chromium.org> Cr-Commit-Position: refs/heads/master@{#625100}
Showing
Please register or sign in to comment