std::stringstream definitely leaks memory (was: Memory leak in ios.cc:326)

Benjamin Kosnik bkoz@redhat.com
Tue Apr 1 16:25:00 GMT 2003


>OK, I'm starting to look at it now.

Thanks, I appreciate it. Here's the unfinished patch for mainline. I
figure there are two ways to do this: either change/add to the
ostream/istream ctors, or hack rdbuf or init with an extra argument.

-benjamin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p.20030401
Type: application/octet-stream
Size: 7910 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20030401/88bf4724/attachment.obj>


More information about the Libstdc++ mailing list