Fix assertion of free a wrong heap

This commit is contained in:
Roy Feng 2023-06-24 09:42:53 +08:00 committed by Xiang Xiao
parent 09dcf50f20
commit 10251f6b6c

View File

@ -41,7 +41,7 @@
* then only the first mode is supported.
*/
#if defined(__KERNEL__)
#if !defined(CONFIG_BUILD_FLAT) && defined(__KERNEL__)
/* Domain-specific allocations */