1
0
mirror of https://github.com/esphome/esphome.git synced 2025-11-01 15:41:52 +00:00
This commit is contained in:
Otto winter
2022-02-03 09:23:48 +01:00
parent f4183778e3
commit c19d893e4e

View File

@@ -174,7 +174,7 @@ std::unique_ptr<GetaddrinfoFuture> getaddrinfo_async(const char *node, const cha
void freeaddrinfo(struct addrinfo *ai) {
while (ai != nullptr) {
struct addrinfo *next = ai->ai_next;
delete ai;
delete ai; // NOLINT(cppcoreguidelines-owning-memory)
ai = next;
}
}