From: jc_.kim Date: Mon, 3 Apr 2017 04:09:42 +0000 (+0900) Subject: modify the omitted about heapinfo_parse in mm_malloc X-Git-Tag: 1.1_Public_Release~637^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ccee7c1ff625da8b7cffbb65609d1c4223c98123;p=rtos%2Ftinyara.git modify the omitted about heapinfo_parse in mm_malloc modified heapinfo_parse needs 3-params, but in mm_malloc, it is not updated --- 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);