Re: [rtla 01/13] rtla: Check for memory allocation failures

From: Costa Shulyupin

Date: Fri Nov 28 2025 - 08:30:17 EST


On Mon, 17 Nov 2025 at 20:54, Wander Lairson Costa <wander@xxxxxxxxxx> wrote:
> Add checks for the return value of memory allocation functions
> and return an error in case of failure. Update the callers to
> handle the error properly.

Would you like to consider using fatal("Out of memory") instead of
returning an error code?
Anyway there is no work around for out of memory.

Costa