modify the omitted about heapinfo_parse in mm_malloc
authorjc_.kim <jc_.kim@samsung.com>
Mon, 3 Apr 2017 04:09:42 +0000 (13:09 +0900)
committerjc_.kim <jc_.kim@samsung.com>
Mon, 3 Apr 2017 04:09:42 +0000 (13:09 +0900)
modified heapinfo_parse needs 3-params, but in mm_malloc, it is not updated

os/mm/mm_heap/mm_malloc.c

index 64b73c4..c1c25e6 100644 (file)
@@ -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);