Re: [Patch, Fortran, F03] PR 55603: Memory leak with scalar allocatable function result

2013-09-02 Thread Tobias Burnus
Am 27.08.2013 15:09, schrieb Janus Weil: here is a patch for PR 55603, which plugs a memory leak with scalar allocatable function results. To accomplish this, several things are done: 1) Allocatable scalar function results are passed as argument now and returned by reference (just like array or

[Patch, Fortran, F03] PR 55603: Memory leak with scalar allocatable function result

2013-08-27 Thread Janus Weil
Hi all, here is a patch for PR 55603, which plugs a memory leak with scalar allocatable function results. To accomplish this, several things are done: 1) Allocatable scalar function results are passed as argument now and returned by reference (just like array or character results, cf. gfc_return_