Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Jan 2003 15:37:33 -0500 (EST)
From:      Garrett Wollman <wollman@lcs.mit.edu>
To:        Sean Farley <sean-freebsd@farley.org>
Cc:        freebsd-bugs@FreeBSD.ORG
Subject:   Re: bin/47599: Memory leak on stdout
Message-ID:  <200301282037.h0SKbXWc092264@khavrinen.lcs.mit.edu>
In-Reply-To: <200301282030.h0SKU4WE075441@freefall.freebsd.org>
References:  <200301282030.h0SKU4WE075441@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On Tue, 28 Jan 2003 12:30:04 -0800 (PST), Sean Farley <sean-freebsd@farley.org> said:

>  I was just wondering if there is a point at which libc
>  was supposed to free the memory before exit.  

No, why should it?  The process is exiting and all memory will be
freed automatically.  The library is expected to behave AS IF
fclose(stdout) had been called, which it does by ensuring that all
open streams have been flushed.

-GAWollman


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200301282037.h0SKbXWc092264>