Memory Leaks in Derived Types Revisited
Abstract
In a note in the {\it 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.
(UMIACS-TR-2003-90)