Subject: Re: fopen/fclose memory leak
From: [email-masked] (Christopher G. Faylor)

28 Jul 1998 13:10:47 GMT
Message-ID: <[email-masked]>
References: <[email-masked]>
X-Newsreader: trn 4.0-test63 (15 March 1998)

In article <[email-masked]>,
Earnie Boyd <[email-masked]> wrote:
>Has the memory leak that was reported months ago been resolved in the
>current releases of the coolview cygwinb19.dll?
>
>Here is sample code that demonstrates the problem:
>
>#include <stdio.h>
>int main()
>{
>  while(1)
>  {
>    FILE *f=fopen("/etc/passwd","r");
>    fclose(f);
>  }
>  return 0;
>}

I don't believe that it is fixed, no.  The next version should fix this.
-- 
[email-masked]             "Everything has a boolean value, if you stand
http://www.cygnus.com/      far enough away from it."  -- Galena Alyson Canada