imageprocessing/guidedVectorize.c
void freePointList(POINT_T** pPHead, POINT_T** pPTail)
{
    POINT_T* pCurrent = *pPHead;
    POINT_T* pRemove = NULL;
    while (pCurrent != NULL)
      {
      pRemove = pCurrent;
      pCurrent = pCurrent->next;
      free(pRemove);
      }
   *pPHead = *pPTail = NULL;
}
/* Free the linked list for the latest feature 
 * @param pPHead   Pointer to pointer to the head
 * @param pPTail   Pointer to pointer to the tail
 */
Free the linked list for the latest feature
@param pPHead   Pointer to pointer to the head
@param pPTail   Pointer to pointer to the tail
Free the linked list for the latest feature @param pPHead Pointer to pointer to the head @param pPTail Pointer to pointer to the tail
void freePointList(POINT_T** pPHead, POINT_T** pPTail)
{
    POINT_T* pCurrent = *pPHead;
    POINT_T* pRemove = NULL;
    while (pCurrent != NULL)
      {
      pRemove = pCurrent;
      pCurrent = pCurrent->next;
      free(pRemove);
      }
   *pPHead = *pPTail = NULL;
}
void freePointList ( POINT_T * * pPHead , POINT_T * * pPTail ) { POINT_T * pCurrent = * pPHead ; POINT_T * pRemove = NULL ; while ( pCurrent != NULL ) { pRemove = pCurrent ; pCurrent = pCurrent -> next ; free ( pRemove ) ; } * pPHead = * pPTail = NULL ; }
Free the linked list for the latest feature
 @param pPHead   Pointer to pointer to the head
 @param pPTail   Pointer to pointer to the tail
Free the linked list for the latest feature @param pPHead Pointer to pointer to the head @param pPTail Pointer to pointer to the tail