mirror of
https://github.com/esphome/esphome.git
synced 2025-02-28 15:58:16 +00:00
Lint
This commit is contained in:
parent
f4183778e3
commit
c19d893e4e
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user