src/cx/tree.h

changeset 1109
89ec23988b88
parent 1108
c3bde8ff1c0b
--- a/src/cx/tree.h	Sun Jan 05 13:54:09 2025 +0100
+++ b/src/cx/tree.h	Sun Jan 05 14:03:30 2025 +0100
@@ -932,13 +932,7 @@
  *
  * @param tree the tree to free
  */
-static inline void cxTreeFree(CxTree *tree) {
-    if (tree == NULL) return;
-    if (tree->root != NULL) {
-        cxTreeClear(tree);
-    }
-    cxFree(tree->allocator, tree);
-}
+void cxTreeFree(CxTree *tree);
 
 /**
  * Creates a new tree structure based on the specified layout.

mercurial