mesh: Remove agent when freeing node's dynamic resources 15/235115/1
authorInga Stotland <inga.stotland@intel.com>
Fri, 22 May 2020 00:34:54 +0000 (17:34 -0700)
committerAbhay Agarwal <ay.agarwal@samsung.com>
Thu, 28 May 2020 11:27:22 +0000 (16:57 +0530)
commit0c32c59aaac9c1a9a4cacf1eaf7cb975893bbb18
treed17dec0ef67c90f011582e966424551aafb8c3f2
parent549cd0e955dfeff366446697a63c17f1e96d962e
mesh: Remove agent when freeing node's dynamic resources

This adds clean up of node's agent instance when node's dynamic
resources are freed.

Change-Id: I588153a99aa27284704b849265b9dcc1ebba3cfa
Signed-off-by: Abhay Agarwal <ay.agarwal@samsung.com>
mesh/node.c