diff --git a/src/mx/memory/task_allocator_interface.h b/src/mx/memory/task_allocator_interface.h index e92a910..d44fd07 100644 --- a/src/mx/memory/task_allocator_interface.h +++ b/src/mx/memory/task_allocator_interface.h @@ -41,7 +41,7 @@ public: /** * @return Allocated memory using systems malloc (but aligned). */ - [[nodiscard]] void *allocate(const std::uint16_t /*core_id*/) override { return std::aligned_alloc(64U, S); } + [[nodiscard]] void *allocate(const std::uint16_t /*core_id*/) override { return std::malloc(S); } /** * Frees the given memory using systems free.