Commit: 1f4ec8fb9d36fb7678385fd631459d80b57fc662
Parent: 1ecf167cec1696e266de58db6cd904f43c4b532e
Author: Inga Stotland <inga.stotland@intel.com>
Committer: Brian Gix <brian.gix@intel.com>
Date: 2021-02-11 04:58:35
Tree: 1b8584c51ab3b0590c3639328df8eaacf37a28ae

mesh: Clear node's agent pointer after agent removal When a node is created/provisioned/imported, the new node's agent is removed. The corresponding pointer in the node structure needs to be set to NULL to avoid pointing to freed memory.

Diffstat

M mesh/node.c | 1 +

1 files changed, 1 insertions(+), 0 deletions(-)

View Full Diff | Patch