mesh: Fix potential memory leak
authorBrian Gix <brian.gix@intel.com>
Thu, 30 Jun 2022 21:10:13 +0000 (14:10 -0700)
committerAyush Garg <ayush.garg@samsung.com>
Mon, 15 May 2023 09:25:55 +0000 (14:55 +0530)
commitf0bc803a893630286dd61624fb8c23e2dd0e68d8
treeefa0942205175dec90b99abcee6897b43ed734fb
parent4925b00edebc5aa183ab1e07bb1d939b65878520
mesh: Fix potential memory leak

This memory leak will never happen, however since we added a new
return from function that malloc'd memory, the free should still be
done.

Signed-off-by: Manika Shrivastava <manika.sh@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
mesh/mesh-config-json.c