mirror of
https://github.com/esphome/esphome.git
synced 2025-10-12 23:03:46 +01:00
tidy
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user