mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 14:53:47 +08:00
global change: repace sched_xfree() to kxmm_free()
Changes: sched_xfree() => kxmm_free() remove garbage related APIs remove ARCH_HAVE_GARBAGE Cause garbage feature move to mm_heap, then don't need garbage anymore. Change-Id: If310790a3208155ca8ab319e8d038cb6ff92c518 Signed-off-by: ligd <liguiding@fishsemi.com>
This commit is contained in:
@@ -409,7 +409,7 @@ void ieee802154_primitive_free(FAR struct ieee802154_primitive_s *prim)
|
||||
/* Otherwise, deallocate it. */
|
||||
|
||||
DEBUGASSERT(priv->pool == POOL_PRIMITIVE_DYNAMIC);
|
||||
sched_kfree(priv);
|
||||
kmm_free(priv);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user