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. |
||
---|---|---|
.. | ||
client_common.h | ||
generic_client.h | ||
lighting_client.h | ||
sensor_client.h | ||
time_scene_client.h |