1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-21 10:26:06 +03:00

restore zalloc() (lost with OOM debug commit, used by lwip/lwip2)

This commit is contained in:
David Gauchard 2018-01-12 14:34:53 +01:00
parent 12f336fa5f
commit 23a7bc2939

View File

@ -43,7 +43,8 @@ bool ICACHE_FLASH_ATTR check_memleak_debug_enable(void)
#define os_malloc malloc
#define os_calloc calloc
#define os_realloc realloc
#define os_zalloc zalloc
#define os_zalloc(s) calloc(1,s)
#define zalloc(s) calloc(1,s)
#ifndef MEMLEAK_DEBUG
#define MEMLEAK_DEBUG_ENABLE 0