We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fe07baa commit c6d8e25Copy full SHA for c6d8e25
libraries/ESP8266WiFi/src/lwip/mem_manager.h
@@ -69,7 +69,7 @@ static const unsigned short heapSTRUCT_SIZE = ( sizeof( xBlockLink ) + portBYTE_
69
70
void vApplicationMallocFailedHook( void ) ;//ICACHE_FLASH_ATTR;
71
72
-void *pvPortMalloc( size_t xWantedSize, const char* file, int line ) ;//ICACHE_FLASH_ATTR;
+void *pvPortMalloc( size_t xWantedSize, const char* file, int line ) __attribute__((malloc, alloc_size(1)));//ICACHE_FLASH_ATTR;
73
74
void vPortFree( void *pv, const char* file, int line ) ;//ICACHE_FLASH_ATTR;
75
0 commit comments