Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 esp8266#3516.
- Loading branch information