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