Skip to content

Commit c6d8e25

Browse files
author
Me No Dev
committed
optimize
1 parent fe07baa commit c6d8e25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/ESP8266WiFi/src/lwip/mem_manager.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ static const unsigned short heapSTRUCT_SIZE = ( sizeof( xBlockLink ) + portBYTE_
6969

7070
void vApplicationMallocFailedHook( void ) ;//ICACHE_FLASH_ATTR;
7171

72-
void *pvPortMalloc( size_t xWantedSize, const char* file, int line ) ;//ICACHE_FLASH_ATTR;
72+
void *pvPortMalloc( size_t xWantedSize, const char* file, int line ) __attribute__((malloc, alloc_size(1)));//ICACHE_FLASH_ATTR;
7373

7474
void vPortFree( void *pv, const char* file, int line ) ;//ICACHE_FLASH_ATTR;
7575

0 commit comments

Comments
 (0)