projects
/
esp-idf
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ce0434
)
mdns: fix possible crash when mdns_free called while action queue not empty
author
David Cermak
<cermak@espressif.com>
Fri, 15 Feb 2019 12:23:21 +0000
(13:23 +0100)
committer
bot
<bot@espressif.com>
Wed, 6 Mar 2019 06:28:55 +0000
(06:28 +0000)
components/mdns/mdns.c
patch
|
blob
|
history
diff --git
a/components/mdns/mdns.c
b/components/mdns/mdns.c
index a373a020869a9fb44fb319be915cc18ee4b768cc..eb6af498ccac33ccc92afe37c95736cea36cb67e 100644
(file)
--- a/
components/mdns/mdns.c
+++ b/
components/mdns/mdns.c
@@
-4011,6
+4011,8
@@
static esp_err_t _mdns_service_task_stop()
vTaskDelay(10 / portTICK_PERIOD_MS);
}
}
+ vSemaphoreDelete(_mdns_service_semaphore);
+ _mdns_service_semaphore = NULL;
return ESP_OK;
}