You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2021/07/06 23:44:46 UTC

[GitHub] [incubator-nuttx] Ouss4 commented on a change in pull request #4068: mm: Remove mm_heap_impl_s struct

Ouss4 commented on a change in pull request #4068:
URL: https://github.com/apache/incubator-nuttx/pull/4068#discussion_r664943668



##########
File path: mm/umm_heap/umm_memalign.c
##########
@@ -54,6 +54,10 @@ FAR void *memalign(size_t alignment, size_t size)
   FAR void *brkaddr;
   FAR void *mem;
 
+  /* Initialize the user heap if not yet */
+
+  umm_try_initialize();
+

Review comment:
       ```suggestion
     /* Initialize the user heap if wasn't yet. */
   
     umm_try_initialize();
   
   ```
   
   Why is this required here?




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org