Issue #15291: Fix a memory leak where AST nodes where not properly deallocated.
diff --git a/Python/Python-ast.c b/Python/Python-ast.c
index 4ca269f..60147fa 100644
--- a/Python/Python-ast.c
+++ b/Python/Python-ast.c
@@ -464,6 +464,7 @@
 ast_dealloc(AST_object *self)
 {
     Py_CLEAR(self->dict);
+    Py_TYPE(self)->tp_free(self);
 }
 
 static int