mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
04fc15a4f3
When node is being reset, the init functions of each sig-defined models will be invoked again, this will cause memory leak because some model internal data will be allocated again. Hence before trying to allocate memory for them, we add some check to make sure no memory has been allocated previously. And for client model, when the init functions are invoked again, we will clear the list items. |
||
---|---|---|
.. | ||
include | ||
device_property.c | ||
generic_server.c | ||
lighting_server.c | ||
sensor_server.c | ||
server_common.c | ||
state_binding.c | ||
state_transition.c | ||
time_scene_server.c |