delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/08/30/08:53:28

Date: Wed, 30 Aug 2000 07:59:30 -0400
Message-Id: <200008301159.HAA02460@envy.delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: djgpp AT delorie DOT com
In-reply-to: <F153xpTljBOh8s4KWiG00003038@hotmail.com> (n_abing@hotmail.com)
Subject: Re: flsbuf? Does it really cause memory leaks?
References: <F153xpTljBOh8s4KWiG00003038 AT hotmail DOT com>
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

> 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?

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019