1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-25 20:02:37 +03:00

Merge pull request #1735 from Links2004/master

fix umm_malloc null ptr.
This commit is contained in:
Ivan Grokhotkov 2016-03-10 12:53:29 +03:00
commit eb9a6c8922

View File

@ -971,6 +971,10 @@ void ICACHE_FLASH_ATTR *umm_info( void *ptr, int force ) {
unsigned short int blockNo = 0;
if (umm_heap == NULL) {
umm_init();
}
/* Protect the critical section... */
UMM_CRITICAL_ENTRY();