This patchset is contains a number of memory leak fixes and some stylistic changes that hopefully result in more compact and readable code. Inga Stotland (10): mesh: Remove unused structure member mesh: Free allocated agent in mesh_remove_agent() mesh: Remove agent when freeing node's dynamic resources mesh: Add finalization of a newly created node mesh: Remove unused function prototypes from node.h mesh: Create a queue of pending requests in mesh_init() mesh: Clean up Import() method call mesh: Clean up Attach() method call mesh: Fix memory leak in Create, Import & Attach methods mesh: Clean up Join() method mesh/agent.c | 10 ++-- mesh/mesh.c | 136 ++++++++++++++++++--------------------------------- mesh/node.c | 57 ++++++++++++--------- mesh/node.h | 7 ++- 4 files changed, 88 insertions(+), 122 deletions(-) -- 2.26.2