Skip to content

Commit e6f77d7

Browse files
W-M-Rxiaoxiang781216
authored andcommitted
mempool: Use the same magic with mmheap
mmheap magic: #define MM_INIT_MAGIC 0xcc #define MM_ALLOC_MAGIC 0xaa #define MM_FREE_MAGIC 0x55 Signed-off-by: wangmingrong1 <[email protected]>
1 parent a98f3f2 commit e6f77d7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mm/mempool/mempool.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@
4141
****************************************************************************/
4242

4343
#if CONFIG_MM_BACKTRACE >= 0
44-
#define MEMPOOL_MAGIC_FREE 0xAAAAAAAA
45-
#define MEMPOOL_MAGIC_ALLOC 0x55555555
44+
#define MEMPOOL_MAGIC_FREE 0x55555555
45+
#define MEMPOOL_MAGIC_ALLOC 0xAAAAAAAA
4646

4747
/****************************************************************************
4848
* Private Types

0 commit comments

Comments
 (0)