GPAK  1.0.0
A general-purpose archive library

◆ filesystem_tree_delete()

GPAK_API void filesystem_tree_delete ( filesystem_tree_node_t _root)
Brief Description:\n Deletes the filesystem tree.

This function recursively deletes the filesystem tree and frees all associated memory.

Parameters
_rootA pointer to the root filesystem_tree_node_t.

Definition at line 251 of file filesystem_tree.c.

252 {
253  if (_root)
254  _free_node(_root);
255 }

Referenced by gpak_close().