Fixed memory leak.
This commit is contained in:
parent
0fb1f1d55f
commit
f5ab0e9cb0
@ -79,6 +79,8 @@ void ast_destroy_psv(AST* ast) {
|
||||
default:
|
||||
log_dbgf("Unknown ast type %d (max: %d)", ast->type, AST_TYPE_MAX);
|
||||
}
|
||||
|
||||
free(ast);
|
||||
}
|
||||
|
||||
void ast_print(AST* ast) { ast_print_i(ast, 0); }
|
||||
|
Loading…
x
Reference in New Issue
Block a user