This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: std::stringstream definitely leaks memory (was: Memory leak inios.cc:326)
- From: Jerry Quinn <jlquinn at optonline dot net>
- To: Benjamin Kosnik <bkoz at redhat dot com>
- Cc: Carlo Wood <carlo at alinoe dot com>, libstdc++ at gcc dot gnu dot org
- Date: Tue, 01 Apr 2003 08:06:42 -0500
- Subject: Re: std::stringstream definitely leaks memory (was: Memory leak inios.cc:326)
- References: <200303262150.WAA23290@faui11.informatik.uni-erlangen.de><200303272114.h2RLEMeb049465@latour.rsch.comm.mot.com><20030328092942.483962b4.bkoz@redhat.com> <20030328222513.GA7545@alinoe.com><20030329223640.GA25032@alinoe.com> <20030331110416.61cca1fc.bkoz@redhat.com>
Benjamin Kosnik writes:
>
> >Did someone open a PR for this?
>
> You just did, thanks.
>
> >It is a very serious bug / regression, not even related
> >to threads. ostringstream simply leaks 76 bytes per
> >creation/destruction.
>
> It's related to the locale cache bits that went in. Jerry, can you take
> a look at this for the 3.3 branch code?
OK, I'm starting to look at it now.
Jerry