Memory leaks in derived types revisited

G. W. Stewart · ACM SIGPLAN Fortran Forum · 2003

In a note in the Fortran Forum , Markus describes a technique for avoiding memory leaks with derived types. In this note, we show by a simple example that this technique does not work when the object in question is a parameter in nested subprogram invocations. A fix is proposed and illustrated with code from MATRAN, a Fortran 95 package for performing matrix manipulations.

Read the paper · More papers on PaperTik