Parent: dac8ef3b0a54708f34293e87c261a9e4f6630e0e
Author: Inga Stotland <inga.stotland@intel.com>
Committer: Brian Gix <brian.gix@intel.com>
Date: 2020-11-10 20:24:11
Tree: 1a475747e2d655f15cce7b16aa736f9da4d82cfc
mesh: Fix memory leak and NULL pointer dereference This fixes a potential NULL pointer dereferencing in mesh_model_pub_set() when virtual address publication cannot be successfully stored. Also, fix a minor memory leak that may occur on unsuccessful model initialization from storage.
Diffstat
| M | mesh/model.c | | | 8 | +++++- - - |
1 files changed, 5 insertions(+), 3 deletions(-)