primary.c (gfc_free_structure_ctor_component): Also free the component structure itself.
2010-10-06 Mikael Morin <mikael@gcc.gnu.org> * primary.c (gfc_free_structure_ctor_component): Also free the component structure itself. From-SVN: r165032
This commit is contained in:
parent
ccd2b32278
commit
3d2e4fe675
|
@ -1,3 +1,8 @@
|
|||
2010-10-06 Mikael Morin <mikael@gcc.gnu.org>
|
||||
|
||||
* primary.c (gfc_free_structure_ctor_component): Also free the
|
||||
component structure itself.
|
||||
|
||||
2010-10-06 Mikael Morin <mikael@gcc.gnu.org>
|
||||
|
||||
* module.c (gfc_use_module): Free atom_string when done with it.
|
||||
|
|
|
@ -2164,6 +2164,7 @@ gfc_free_structure_ctor_component (gfc_structure_ctor_component *comp)
|
|||
{
|
||||
gfc_free (comp->name);
|
||||
gfc_free_expr (comp->val);
|
||||
gfc_free (comp);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue