engine/source/preprocessorlib/pp_expr.c
/**
 * Recursively frees a pp_expr node and its children.
 */
Recursively frees a pp_expr node and its children.
Recursively frees a pp_expr node and its children .
void pp_expr_destroy(pp_expr *node)
{
    if(node->info)
    {
        free(node->info);
    }
    if(node->left)
    {
        pp_expr_destroy(node->left);
    }
    if(node->right)
    {
        pp_expr_destroy(node->right);
    }
    free(node);
}
void pp_expr_destroy ( pp_expr * node ) { if ( node -> info ) { free ( node -> info ) ; } if ( node -> left ) { pp_expr_destroy ( node -> left ) ; } if ( node -> right ) { pp_expr_destroy ( node -> right ) ; } free ( node ) ; }
Recursively frees a pp_expr node and its children.
Recursively frees a pp_expr node and its children .