This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: fopen/fclose memory leak
- To: gnu-win32 at cygnus dot com
- Subject: Re: fopen/fclose memory leak
- From: cgf at cygnus dot com (Christopher G. Faylor)
- Date: 28 Jul 1998 13:10:47 GMT
- Newsgroups: cygnus.gnu-win32
- Organization: Cygnus Solutions
- References: <19980727194430.27431.rocketmail.cygnus.gnu-win32@send1a.yahoomail.com>
- Stamped: newsgate-cygnus
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".