This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: libstdc++/10276: memory leak for stringstream / ios_base callback cache.


On Mon, Mar 31, 2003 at 05:20:22PM -0000, ehrhardt at mathematik dot uni-ulm dot de wrote:
>     Do you actually see a memory leak? As far as I can see _M_dispose_callbacks()
>     (called by the ios_base destructor) should free the memory.

Yes.  See http://gcc.gnu.org/ml/libstdc++/2003-03/msg00373.html

And so does Ulrich Weigand (http://gcc.gnu.org/ml/libstdc++/2003-03/msg00338.html)
and apparently Benjamin Kosnik too for 3.4 (http://gcc.gnu.org/ml/libstdc++/2003-03/msg00361.html)

This PR should be assigned to Loren James Rittle I understood
(http://gcc.gnu.org/ml/libstdc++/2003-03/msg00353.html).

-- 
Carlo Wood <carlo at alinoe dot com>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]