From a8c073c1cc6df7d4fb3d7a611f71828436dc21c7 Mon Sep 17 00:00:00 2001 From: Zim Kalinowski Date: Thu, 17 Feb 2022 12:25:28 +0800 Subject: [PATCH] fixed trailing whitespace --- components/heap/heap_caps.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/heap/heap_caps.c b/components/heap/heap_caps.c index fb1968db7a..962fcd1a90 100644 --- a/components/heap/heap_caps.c +++ b/components/heap/heap_caps.c @@ -90,7 +90,7 @@ bool heap_caps_match(const heap_t *heap, uint32_t caps) /* -This function should not be called directly as it does not +This function should not be called directly as it does not check for failure / call heap_caps_alloc_failed() */ IRAM_ATTR static void *heap_caps_malloc_base( size_t size, uint32_t caps) @@ -239,7 +239,7 @@ IRAM_ATTR void *heap_caps_realloc_default( void *ptr, size_t size ) //We needed to allocate memory, but we didn't. Try again while being less picky. r=heap_caps_realloc_base( ptr, size, MALLOC_CAP_DEFAULT); } - + // allocation failure? if (r==NULL && size>0){ heap_caps_alloc_failed(size, MALLOC_CAP_DEFAULT, __func__); @@ -341,7 +341,7 @@ IRAM_ATTR void heap_caps_free( void *ptr) } /* -This function should not be called directly as it does not +This function should not be called directly as it does not check for failure / call heap_caps_alloc_failed() */ IRAM_ATTR static void *heap_caps_realloc_base( void *ptr, size_t size, uint32_t caps)