mesh: Fix race condition memory leak
authorBrian Gix <brian.gix@intel.com>
Wed, 19 May 2021 19:00:45 +0000 (12:00 -0700)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 11 Mar 2022 13:38:35 +0000 (19:08 +0530)
commitbdaa2e2fdb9bbdfcdc3936c8f5c9acff9e1ae2c1
tree0ec17090f76a11dfcea0e6041e7aa0ff8d129ce8
parent4598ed671c630ae37419096d7af9c112a4ad01d7
mesh: Fix race condition memory leak

This is a minor fix of a memory leak triggered on process exit if
proceess has been killed right after requesting an outbound
advertisement be sent.  It is harmless, but will cause an occasional
static analysis failure.

Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
mesh/mesh-io-generic.c