mirror of
https://github.com/esp8266/Arduino.git
synced 2025-10-28 17:15:26 +03:00
realloc() is called with newSize > 0 (at least 16), so newbuffer==0 means the old memory was not deallocated. Therefore, the pointer should still point to the old buffer. This change should resolve issue #3516.