[Patch, Fortran] PR 80121: Memory leak with derived-type intent(out) argument

Thomas Koenig tkoenig@netcologne.de
Sat Apr 22 23:32:00 GMT 2017


Hi Janus,

> the patch in the attachment fixes a memory leak by auto-deallocating
> the allocatable components of an allocatable intent(out) argument.
>
> Regtests cleanly on x86_64-linux-gnu. Ok for trunk?

OK for trunk.  Also (because this is a quite serious bug)
OK for gcc 7 after the release of 7.1.

Thanks for the patch!

Regards

	Thomas



More information about the Fortran mailing list