🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #41563

Memory leak Why ??

#41563
From: Darrell Gallion, D260
Date: Fri, 08 Mar 1996 00:00
16 lines
682 bytes
I posted this once and now I can't find it ?

With gcc version 2.6.3 this will leak memory.
Any thoughts ?


#include <strstream.h>

void main(void)
{ 
 for(;;)
 {
	strstream str;	
 }

}
Technical Details
Message-ID: <3140C5F4.5A66@cldx.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,3c9a55f90d700ac7,start
X-Google-Attributes: gid11318c,public
From: "Darrell Gallion, D260" <dgallion@cldx.com>
Subject: Memory leak Why ??
Date: 1996/03/08
Message-ID: <3140C5F4.5A66@cldx.com>
X-Deja-AN: 142339012
content-type: text/plain; charset=us-ascii
organization: Johnson & Johnson Clinical Diagnostics
mime-version: 1.0
newsgroups: gnu.gcc.help
x-mailer: Mozilla 2.0 (X11; I; SunOS 5.4 sun4m)