Database/db.c
void db_cleanup_recurs(node_t *node) {
    if (node == NULL) {
        return;
    }

    db_cleanup_recurs(node->lchild);
    db_cleanup_recurs(node->rchild);

    node_destructor(node);
}
/* Recursively destroys node and all its children. */
Recursively destroys node and all its children.
Recursively destroys node and all its children .
void db_cleanup_recurs(node_t *node) {
    if (node == NULL) {
        return;
    }
    db_cleanup_recurs(node->lchild);
    db_cleanup_recurs(node->rchild);
    node_destructor(node);
}
void db_cleanup_recurs ( node_t * node ) { if ( node == NULL ) { return ; } db_cleanup_recurs ( node -> lchild ) ; db_cleanup_recurs ( node -> rchild ) ; node_destructor ( node ) ; }
Recursively destroys node and all its children.
Recursively destroys node and all its children .