esp-idf/components/bt/esp_ble_mesh/mesh_models/server
lly 3b9fe36494 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.
2019-12-28 08:00:44 +00:00
..
include ble_mesh: miscellaneous modifications 2019-11-08 11:10:52 +08:00
device_property.c ble_mesh: add Generic/Sensor/Time and Scenes/Lighting Server models 2019-11-08 11:10:52 +08:00
generic_server.c ble_mesh: miscellaneous modifications 2019-11-08 11:10:52 +08:00
lighting_server.c ble_mesh: miscellaneous modifications 2019-11-08 11:10:52 +08:00
sensor_server.c ble_mesh: miscellaneous modifications 2019-11-08 11:10:52 +08:00
server_common.c ble_mesh: Fix memory leak when node is reset 2019-12-28 08:00:44 +00:00
state_binding.c ble_mesh: miscellaneous modifications 2019-11-08 11:10:52 +08:00
state_transition.c ble_mesh: miscellaneous modifications 2019-11-08 11:10:52 +08:00
time_scene_server.c ble_mesh: miscellaneous modifications 2019-11-08 11:10:52 +08:00