src/classify/mfoutline.cpp
void FreeMFOutline(void *arg) { // MFOUTLINE Outline)
  auto Outline = static_cast<MFOUTLINE>(arg);

  /* break the circular outline so we can use std. techniques to deallocate */
  MFOUTLINE Start = Outline->list_rest();
  set_rest(Outline, NIL_LIST);
  while (Start != nullptr) {
    delete reinterpret_cast<MFEDGEPT *>(Start->first_node());
    Start = pop(Start);
  }

}
/*---------------------------------------------------------------------------*/
/**
 * This routine deallocates all of the memory consumed by
 * a micro-feature outline.
 * @param arg   micro-feature outline to be freed
 */
This routine deallocates all of the memory consumed by
a micro-feature outline.
@param arg   micro-feature outline to be freed
This routine deallocates all of the memory consumed by a micro - feature outline . @param arg micro - feature outline to be freed
void FreeMFOutline(void *arg) { 
  auto Outline = static_cast<MFOUTLINE>(arg);
  MFOUTLINE Start = Outline->list_rest();
  set_rest(Outline, NIL_LIST);
  while (Start != nullptr) {
    delete reinterpret_cast<MFEDGEPT *>(Start->first_node());
    Start = pop(Start);
  }
}
void FreeMFOutline ( void * arg ) { auto Outline = static_cast < MFOUTLINE > ( arg ) ; MFOUTLINE Start = Outline -> list_rest ( ) ; set_rest ( Outline , NIL_LIST ) ; while ( Start != nullptr ) { delete reinterpret_cast < MFEDGEPT * > ( Start -> first_node ( ) ) ; Start = pop ( Start ) ; } }
This routine deallocates all of the memory consumed by
 a micro-feature outline.
This routine deallocates all of the memory consumed by a micro - feature outline .
// MFOUTLINE Outline) /* break the circular outline so we can use std. techniques to deallocate */