This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: fopen/fclose memory leak


In article <19980727194430.27431.rocketmail.cygnus.gnu-win32@send1a.yahoomail.com>,
Earnie Boyd <earnie_boyd@yahoo.com> 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.
-- 
cgf@cygnus.com             "Everything has a boolean value, if you stand
http://www.cygnus.com/      far enough away from it."  -- Galena Alyson Canada
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]