[Bug libstdc++/27931] valgrind reports memleak when std::ios:sync_with_stdio(false)
pcarlini at suse dot de
gcc-bugzilla@gcc.gnu.org
Thu Jun 8 01:04:00 GMT 2006
------- Comment #5 from pcarlini at suse dot de 2006-06-08 00:54 -------
This behavior started with this patch:
http://gcc.gnu.org/ml/libstdc++/2003-04/msg00427.html
when Pétur pointed out that, according to 27.3, p2, the standard streams are
*never* destroyed.
The ""leak"" appears only with sync_with_stdio(false) simply because the
synced, default, buffer doesn't do any dynamic memory allocation.
--
pcarlini at suse dot de changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27931
More information about the Gcc-bugs
mailing list