1
0
mirror of https://github.com/esphome/esphome.git synced 2025-02-28 15:58:16 +00:00
This commit is contained in:
Otto winter 2022-02-03 09:16:46 +01:00
parent a39b2c4ac7
commit 11e8bd77e2
No known key found for this signature in database
GPG Key ID: 5B48AF485DF70D0E

View File

@ -178,7 +178,7 @@ std::unique_ptr<GetaddrinfoFuture> getaddrinfo_async(const char *node, const cha
#ifdef USE_ESP8266
void freeaddrinfo(struct addrinfo *ai) {
while (ai != NULL) {
while (ai != nullptr) {
struct addrinfo *next = ai->ai_next;
delete ai;
ai = next;