From: "A. Sinan Unur" Newsgroups: comp.os.msdos.djgpp Subject: Re: Memory leak. Date: Fri, 03 Oct 1997 10:08:00 -0400 Organization: Cornell University Lines: 21 Sender: asu1 AT cornell DOT edu (Verified) Message-ID: <3434FC40.233A@cornell.edu> References: <3 DOT 0 DOT 16 DOT 19971003101449 DOT 36e7aec2 AT hem1 DOT passagen DOT se> NNTP-Posting-Host: 128 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Peter Palotas wrote: > > Could someone please give me a complete description of what a memory leak > really is? > -- Peter Palotas alias Blizzar -- blizzar AT hem1 DOT passagen DOT se -- void leak_some_memory(void) { char *p = malloc(1024*1000); return; } int main(void) { for(;;) leak_some_memory(); return 0; } -- Sinan