Memory Leaks in Derived Types Revisited
Memory Leaks in Derived Types Revisited
Loading...
Files
Publication or External Link
Date
2003-09-02
Authors
Advisor
Citation
DRUM DOI
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)