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:23:48 +01:00
parent f4183778e3
commit c19d893e4e
No known key found for this signature in database
GPG Key ID: 5B48AF485DF70D0E

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;
}
}