diff --git a/mm/mm_heap/mm_realloc.c b/mm/mm_heap/mm_realloc.c index 28fbee2dd7..788fca4f48 100644 --- a/mm/mm_heap/mm_realloc.c +++ b/mm/mm_heap/mm_realloc.c @@ -103,8 +103,9 @@ FAR void *mm_realloc(FAR struct mm_heap_s *heap, FAR void *oldmem, { memcpy(newmem, oldmem, size); mm_free(heap, oldmem); - return newmem; } + + return newmem; } #endif