@article {17709, title = {Memory leaks in derived types revisited}, journal = {SIGPLAN Fortran Forum}, volume = {22}, year = {2003}, month = {2003/12//}, pages = {25 - 27}, 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.}, isbn = {1061-7264}, doi = {10.1145/962180.962183}, url = {http://doi.acm.org/10.1145/962180.962183}, author = {Stewart, G.W.} }