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