From: SMTP%"[log in to unmask]" 27-APR-1998 16:13:33.24
> So I wrote the code appended to this message, using the
> ISO_VARYING_STRING module and data-type, downloaded from
> www.fortran.com, here str2int is a function that returns the "obvious"
> integer value when passed a string like "1234".
>
> The program leaks memory very badly, and almost killed my Indy when I
> ran it on a real data file!! When I looked at the ISO_VARYING_STRING
> module I can see no deallocates at all, though many operators and
> functions allocate freely.
I think that this memory leak has been known for a while. Anyone know
if there is an improved version of this module around? If `standard'
modules are not constantly kept error-free and bugs fixed as soon as
possible, there's not much point in having them.
--
Phillip Helbig Email .......... [log in to unmask]
Nuffield Radio Astronomy Laboratories Tel. ..... +44 1477 571 321 (ext. 297)
Jodrell Bank Fax ................. +44 1477 571 618
Macclesfield Telex ................. 36149 JODREL G
UK-Cheshire SK11 9DL Web .... http://www.jb.man.ac.uk/~pjh/
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|