From ccee7c1ff625da8b7cffbb65609d1c4223c98123 Mon Sep 17 00:00:00 2001 From: "jc_.kim" Date: Mon, 3 Apr 2017 13:09:42 +0900 Subject: [PATCH] modify the omitted about heapinfo_parse in mm_malloc modified heapinfo_parse needs 3-params, but in mm_malloc, it is not updated --- os/mm/mm_heap/mm_malloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/os/mm/mm_heap/mm_malloc.c b/os/mm/mm_heap/mm_malloc.c index 64b73c4..c1c25e6 100644 --- a/os/mm/mm_heap/mm_malloc.c +++ b/os/mm/mm_heap/mm_malloc.c @@ -223,7 +223,7 @@ FAR void *mm_malloc(FAR struct mm_heap_s *heap, size_t size) if (!ret) { mdbg("Allocation failed, size %d\n", size); #ifdef CONFIG_DEBUG_MM_HEAPINFO - heapinfo_parse(heap, HEAPINFO_NORMAL); + heapinfo_parse(heap, HEAPINFO_DETAIL_ALL, HEAPINFO_PID_NOTNEEDED); #endif } else { mvdbg("Allocated %p, size %d\n", ret, size); -- 2.7.4