re PR fortran/58058 (Memory leak with transfer function)
authorJanus Weil <janus@gcc.gnu.org>
Fri, 9 Aug 2013 16:57:58 +0000 (18:57 +0200)
committerJanus Weil <janus@gcc.gnu.org>
Fri, 9 Aug 2013 16:57:58 +0000 (18:57 +0200)
commit36849c21ccee087a778360d3a5dce38d1f7dd586
treefd9df8c7c1a53d0c5c154816dc1d87d217fbbf33
parent042ae7d242e9def81372edef1eff1046851699f0
re PR fortran/58058 (Memory leak with transfer function)

2013-08-09  Janus Weil  <janus@gcc.gnu.org>

PR fortran/58058
* trans-intrinsic.c (gfc_conv_intrinsic_transfer): Free the temporary
string, if necessary.

2013-08-09  Janus Weil  <janus@gcc.gnu.org>

PR fortran/58058
* gfortran.dg/transfer_intrinsic_6.f90: New.

From-SVN: r201633
gcc/fortran/ChangeLog
gcc/fortran/trans-intrinsic.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/transfer_intrinsic_6.f90 [new file with mode: 0644]