mesh: Fix errors found by static analysis
authorInga Stotland <inga.stotland@intel.com>
Fri, 6 Nov 2020 07:10:53 +0000 (23:10 -0800)
committerAbhay Agarwal <ay.agarwal@samsung.com>
Mon, 28 Dec 2020 06:20:04 +0000 (11:50 +0530)
commit50c4465ce4e124af8dc1e94cca741eb72ca539ae
tree32a8ae1d181eb90b4516a57bd7725470d329802b
parent683145d52f3aef0e0cd02c5cbf9b80756420a6ac
mesh: Fix errors found by static analysis

This fixes a NULL pointer dereference error (cfgmod-server.c)
and miscellaneous issues related to unchecked return status.

Change-Id: Ic0951ce49c17fe1e97065da5f50589563290afdb
Signed-off-by: anuj.bhumiya <anuj.bhumiya@samsung.com>
mesh/agent.c
mesh/appkey.c
mesh/cfgmod-server.c
mesh/keyring.c