fix: random fixes

This commit is contained in:
Gu://em_ 2026-01-23 17:33:15 +01:00
parent 69ee869af0
commit 32e182bd50
3 changed files with 19 additions and 11 deletions

View file

@ -10,7 +10,7 @@
void ast_free(struct ast **node)
{
if (*node == NULL)
if (node == NULL || *node == NULL)
return;
// ast void does not need to be freed.
if (ast_is_if(*node))