1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-13 07:13:47 +01:00
This commit is contained in:
J. Nick Koston
2025-10-07 15:47:19 -05:00
parent f0a7c6b0bb
commit 63a94df74f

View File

@@ -40,7 +40,9 @@ void MDNSComponent::setup() {
// free records
for (const auto &it : txt_records) {
free((void *) it.value); // NOLINT(cppcoreguidelines-owning-memory,cppcoreguidelines-pro-type-cstyle-cast)
free(
(void *) it
.value); // NOLINT(cppcoreguidelines-owning-memory,cppcoreguidelines-pro-type-cstyle-cast,cppcoreguidelines-no-malloc)
}
if (err != ESP_OK) {