Commit: 5a37a85fbc4c2801811dd9c2760e38cb5a01d687
Parent: bb5d00cdc7bd8a272c8889793d21ce6c37e39714
Author: Inga Stotland <inga.stotland@intel.com>
Committer: Brian Gix <brian.gix@intel.com>
Date: 2019-07-01 19:17:43
Tree: fc3666bde80505638c95f07e9c2919728d19e073

mesh: Fix and clean up model publication code This adds proper checks for model publication removal: the publication is not virtual and the publication address is set to zero, i.e., UNASSIGNED_ADDRESS. Also removes double memory allocation for model publication and miscellaneous redundancies.

Diffstat

M mesh/model.c | 62 ++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
M mesh/model.h | 2 +-

2 files changed, 27 insertions(+), 37 deletions(-)

View Full Diff | Patch