mirror of
https://github.com/Dasharo/zephyr.git
synced 2026-03-06 14:57:20 -08:00
Instead of trusting blindly that k_mem_slab_init() will succeed, let's check it, and handle failures appropriately. Otherwise, a buffer of garbage will be passed around, leading to misterious failures later on. Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>