mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 09:18:00 +08:00
c1f9d2c2d5
1.Return -ENOMEM directly if kmm_malloc return NULL 2.Call nxsem_destroy if the initialization can't succeed Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>