diff options
Diffstat (limited to 'mesh/mesh-config-json.c')
-rw-r--r-- | mesh/mesh-config-json.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/mesh/mesh-config-json.c b/mesh/mesh-config-json.c index 6567d761c..d3f423e50 100644 --- a/mesh/mesh-config-json.c +++ b/mesh/mesh-config-json.c @@ -2309,7 +2309,7 @@ bool mesh_config_load_nodes(const char *cfgdir_name, mesh_config_node_func_t cb, return true; } -void mesh_config_destroy(struct mesh_config *cfg) +void mesh_config_destroy_nvm(struct mesh_config *cfg) { char *node_dir, *node_name; char uuid[33]; @@ -2330,7 +2330,4 @@ void mesh_config_destroy(struct mesh_config *cfg) return; del_path(node_dir); - - /* Release node config object */ - mesh_config_release(cfg); } |