Memory leaks in derived types revisited
Title | Memory leaks in derived types revisited |
Publication Type | Journal Articles |
Year of Publication | 2003 |
Authors | Stewart G.W |
Journal | SIGPLAN Fortran Forum |
Volume | 22 |
Issue | 3 |
Pagination | 25 - 27 |
Date Published | 2003/12// |
ISBN Number | 1061-7264 |
Abstract | 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. |
URL | http://doi.acm.org/10.1145/962180.962183 |
DOI | 10.1145/962180.962183 |