Linked lists now destroy the pathList of an area.

- Modified destroyList to destroy pathLists in areas.
This commit is contained in:
Barry Kane 2022-11-13 18:26:36 +00:00
parent d843f0b170
commit 6b3d9febf6
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ static inline void deallocateListNode(listNode * node, listDataType type)
} }
case AREA: case AREA:
{ {
// destroyList(node->data.area->paths); destroyList(&(node->data.area->pathList));
free(node->data.area); free(node->data.area);
free(node); free(node);
break; break;