diff options
author | Mikael Morin <mikael@gcc.gnu.org> | 2010-10-06 14:43:55 +0000 |
---|---|---|
committer | Mikael Morin <mikael@gcc.gnu.org> | 2010-10-06 14:43:55 +0000 |
commit | 3d2e4fe6756027ec9826cd8bb94173f691c9a7f8 (patch) | |
tree | e8fcc270d8bc8d18c1125672e905fe7680779432 /gcc/fortran/primary.c | |
parent | ccd2b322781729ee41f7f44eae1b519c6d0ec4c7 (diff) | |
download | gcc-3d2e4fe6756027ec9826cd8bb94173f691c9a7f8.zip gcc-3d2e4fe6756027ec9826cd8bb94173f691c9a7f8.tar.gz gcc-3d2e4fe6756027ec9826cd8bb94173f691c9a7f8.tar.bz2 |
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
Diffstat (limited to 'gcc/fortran/primary.c')
-rw-r--r-- | gcc/fortran/primary.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/fortran/primary.c b/gcc/fortran/primary.c index f6ceae9..9d0deec 100644 --- a/gcc/fortran/primary.c +++ b/gcc/fortran/primary.c @@ -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); } |