Date: Wed, 30 Aug 2000 07:59:30 -0400 Message-Id: <200008301159.HAA02460@envy.delorie.com> From: DJ Delorie To: djgpp AT delorie DOT com In-reply-to: (n_abing@hotmail.com) Subject: Re: flsbuf? Does it really cause memory leaks? References: Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > I've been using YAMD on a program I'm working on. The program is in > C++ and whenever I use the output streams (cout), YAMD logs a memory > leak in ``flsbuf''. This is in a library (libstdc++). I've fixed most Do you mean flsbuf in libc ? Anyway, flsbuf allocates the buffers for stdin/stdout/stderr. It does so once per program run, and never deletes it (unless you fclose(stdin) or something like that). Is this what you're seeing?