fopen/fclose memory leak
Christopher G. Faylor
cgf@cygnus.com
Tue Jul 28 06:51:00 GMT 1998
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".
More information about the Cygwin
mailing list