aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/resolve.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <aldot@gcc.gnu.org>2017-12-06 22:55:10 +0100
committerBernhard Reutner-Fischer <aldot@gcc.gnu.org>2021-10-29 18:26:27 +0200
commit7883a7f07c1ad9c8aaccc5bbd96e0ae1fa230c89 (patch)
tree386260693883ed0ed8018f7b36b665e783eb5b3e /gcc/fortran/resolve.c
parent5380cf0272800847858e117740efaa6d0d6a3996 (diff)
downloadgcc-7883a7f07c1ad9c8aaccc5bbd96e0ae1fa230c89.zip
gcc-7883a7f07c1ad9c8aaccc5bbd96e0ae1fa230c89.tar.gz
gcc-7883a7f07c1ad9c8aaccc5bbd96e0ae1fa230c89.tar.bz2
Fortran: Free type-bound procedure structs
compiling gfortran.dg/typebound_proc_31.f90 leaked the type-bound structs: 56 bytes in 1 blocks are definitely lost. at 0x4C2CC05: calloc (vg_replace_malloc.c:711) by 0x151EA90: xcalloc (xmalloc.c:162) by 0x8E3E4F: gfc_get_typebound_proc(gfc_typebound_proc*) (symbol.c:4945) by 0x84C095: match_procedure_in_type (decl.c:10486) by 0x84C095: gfc_match_procedure() (decl.c:6696) ... gcc/fortran/ChangeLog: 2017-12-06 Bernhard Reutner-Fischer <aldot@gcc.gnu.org> * symbol.c (free_tb_tree): Free type-bound procedure struct. (gfc_get_typebound_proc): Use explicit memcpy for clarity.
Diffstat (limited to 'gcc/fortran/resolve.c')
0 files changed, 0 insertions, 0 deletions