FACT++  1.0
int deleteItemList ( )

Definition at line 3217 of file feeserver.c.

References Memory::free().

Referenced by cleanUp().

3217  {
3218  ItemNode* tmp = 0;
3219 
3220  while (firstNode != 0) {
3221  if (firstNode->item != 0) {
3222  if (firstNode->item->name != 0) {
3223  free(firstNode->item->name);
3224  }
3225  free(firstNode->item);
3226  }
3227 
3228  tmp = firstNode->next;
3229  free(firstNode);
3230  firstNode = tmp;
3231  }
3232  return FEE_OK;
3233 }
static ItemNode * firstNode
Definition: feeserver.c:89
void free(void *mem)

+ Here is the call graph for this function:

+ Here is the caller graph for this function: