OVMS3-idf/components/bt/esp_ble_mesh/mesh_models/client
lly 04fc15a4f3 ble_mesh: Fix memory leak when node is reset
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.
2020-02-12 12:03:31 +00:00
..
include ble_mesh: Fix memory leak when node is reset 2020-02-12 12:03:31 +00:00
client_common.c ble_mesh: Fix memory leak when node is reset 2020-02-12 12:03:31 +00:00
generic_client.c ble_mesh: Fix memory leak when node is reset 2020-02-12 12:03:31 +00:00
lighting_client.c ble_mesh: Fix memory leak when node is reset 2020-02-12 12:03:31 +00:00
sensor_client.c ble_mesh: Fix memory leak when node is reset 2020-02-12 12:03:31 +00:00
time_scene_client.c ble_mesh: Fix memory leak when node is reset 2020-02-12 12:03:31 +00:00