From c19d893e4ef6a53c7d7a4df595d0bae492016026 Mon Sep 17 00:00:00 2001 From: Otto winter Date: Thu, 3 Feb 2022 09:23:48 +0100 Subject: [PATCH] Lint --- esphome/components/socket/lwip_getaddrinfo_impl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphome/components/socket/lwip_getaddrinfo_impl.cpp b/esphome/components/socket/lwip_getaddrinfo_impl.cpp index 9bda4b944d..02b75e81a2 100644 --- a/esphome/components/socket/lwip_getaddrinfo_impl.cpp +++ b/esphome/components/socket/lwip_getaddrinfo_impl.cpp @@ -174,7 +174,7 @@ std::unique_ptr 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; } }