Memory Leaks in Derived Types Revisited

Loading...
Thumbnail Image

Files

CS-TR-4522.ps (77.78 KB)
No. of downloads: 154
CS-TR-4522.pdf (101.83 KB)
No. of downloads: 560

Publication or External Link

Date

2003-09-02

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)

Notes

Rights