Skip to content

Conversation

@quic-aditrath
Copy link
Contributor

Replace posix_memalign() with manual alignment implementation for Zephyr platform compatibility, as posix_memalign() is not supported in Zephyr's POSIX API layer.

Update ar_heap_free() to properly handle manually aligned pointers by retrieving the original malloc() address from stored offset before calling free().

Replace posix_memalign() with manual alignment implementation for
Zephyr platform compatibility, as posix_memalign() is not supported
in Zephyr's POSIX API layer.

Update ar_heap_free() to properly handle manually aligned pointers
by retrieving the original malloc() address from stored offset before
calling free().

Signed-off-by: Aditya Rathi <[email protected]>
@quic-aditrath quic-aditrath requested review from a team January 29, 2026 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant