mesh/mesh-config-json: Fix errors found by static analysis
authorInga Stotland <inga.stotland@intel.com>
Fri, 6 Nov 2020 22:22:45 +0000 (14:22 -0800)
committerAbhay Agarwal <ay.agarwal@samsung.com>
Mon, 28 Dec 2020 06:20:04 +0000 (11:50 +0530)
commit80169a66a9d74ea1f129b9985a6128f1d01594f9
treedb32f3527836e4c9c386de811ed4d5d7f34ecb68
parent8bb967485bbd339193c530d234ad8958028b10d6
mesh/mesh-config-json: Fix errors found by static analysis

This fixes miscellaneous issues related to unchecked return status
and (temporary) allocated memory leaks due to daemon's exit on startup
failure.

Change-Id: Icf621e459ed4f045a740a78f3252dcdde8621350
Signed-off-by: anuj.bhumiya <anuj.bhumiya@samsung.com>
mesh/mesh-config-json.c