[Patch, fortran] [11/22] Various minor fixups
Mikael Morin
mikael.morin@sfr.fr
Tue Oct 5 10:12:00 GMT 2010
2010-10-04 Mikael Morin <mikael@gcc.gnu.org>
* symbol.c (free_components): Free list of formal args and formal
namespace.
-------------- next part --------------
diff --git a/symbol.c b/symbol.c
index cd07b63..b06afe4 100644
--- a/symbol.c
+++ b/symbol.c
@@ -2049,6 +2049,9 @@ free_components (gfc_component *p)
gfc_free_array_spec (p->as);
gfc_free_expr (p->initializer);
+ gfc_free_formal_arglist (p->formal);
+ gfc_free_namespace (p->formal_ns);
+
gfc_free (p);
}
}
More information about the Fortran
mailing list