mesh: Fix segmentation fault when removing a node
authorInga Stotland <inga.stotland@intel.com>
Thu, 4 Jul 2019 17:36:06 +0000 (10:36 -0700)
committerAnupam Roy <anupam.r@samsung.com>
Tue, 17 Dec 2019 15:21:21 +0000 (20:51 +0530)
commiteeeb694983c69425c624c6cf6dbb63d17782e54c
tree13c12d7d2767ea6ce9e79e479bab0b2e9b5ec5c4
parent592eb014742c0d72d6348e80872968373e1a4e46
mesh: Fix segmentation fault when removing a node

This fixes a segmentation fault introduced by earlier changes.
Segmentation fault was used by accessing a queu that has been
destroyed, but the corresponding pointer hasn't been set to NULL.

Change-Id: I97d395e354ed8b21b9ec55d2eea924d7b1db9175
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
mesh/node.c