]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/fortran/primary.cc
expr.c (scalarize_intrinsic_call): Plug memory leak.
authorTobias Burnus <burnus@net-b.de>
Thu, 4 Oct 2012 17:32:06 +0000 (19:32 +0200)
committerTobias Burnus <burnus@gcc.gnu.org>
Thu, 4 Oct 2012 17:32:06 +0000 (19:32 +0200)
commitefb63364c51c16d7811aa7d7d173e4c2e1cef665
tree263258155d4031ec0367ac574033137c812ebaa4
parent35057bf7360505c67261d0a8b3650c0fb7ae0637
expr.c (scalarize_intrinsic_call): Plug memory leak.

2012-10-04  Tobias Burnus  <burnus@net-b.de>

        * expr.c (scalarize_intrinsic_call): Plug memory leak.
        * frontend-passes.c (gcc_assert): Extend assert.
        * interface.c (gfc_compare_derived_types): Fix comparison.
        (gfc_check_operator_interface): Move up to make this error
        message reachable.
        (get_sym_storage_size): Remove always-true checks.
        * io.c (format_lex): Add comment.
        (gfc_free_wait): Free memory.
        * match.c (gfc_match_select_type): Ditto.
        * matchexpr.c (match_level_3): Ditto.
        * primary.c (match_string_constant): Ditto.
        (match_actual_arg): Check return value.
        * resolve.c (gfc_resolve_substring_charlen,
        resolve_typebound_generic_call, resolve_typebound_function,
        resolve_typebound_subroutine): Free memory.
        * trans-types.c (gfc_get_derived_type): Remove always-true
        * check.

From-SVN: r192094
gcc/fortran/ChangeLog
gcc/fortran/expr.c
gcc/fortran/frontend-passes.c
gcc/fortran/interface.c
gcc/fortran/io.c
gcc/fortran/match.c
gcc/fortran/matchexp.c
gcc/fortran/primary.c
gcc/fortran/resolve.c
gcc/fortran/trans-types.c