mirror of
https://github.com/esphome/esphome.git
synced 2025-10-13 23:33:48 +01:00
tidy
This commit is contained in:
@@ -40,9 +40,7 @@ void MDNSComponent::setup() {
|
|||||||
|
|
||||||
// free records
|
// free records
|
||||||
for (const auto &it : txt_records) {
|
for (const auto &it : txt_records) {
|
||||||
free(
|
free((void *) it.value); // NOLINT(cppcoreguidelines-no-malloc)
|
||||||
(void *) it
|
|
||||||
.value); // NOLINT(cppcoreguidelines-owning-memory,cppcoreguidelines-pro-type-cstyle-cast,cppcoreguidelines-no-malloc)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (err != ESP_OK) {
|
if (err != ESP_OK) {
|
||||||
|
Reference in New Issue
Block a user