Linked lists now destroy the pathList of an area.
- Modified destroyList to destroy pathLists in areas.
This commit is contained in:
parent
d843f0b170
commit
6b3d9febf6
|
@ -20,7 +20,7 @@ static inline void deallocateListNode(listNode * node, listDataType type)
|
|||
}
|
||||
case AREA:
|
||||
{
|
||||
// destroyList(node->data.area->paths);
|
||||
destroyList(&(node->data.area->pathList));
|
||||
free(node->data.area);
|
||||
free(node);
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue