From: Erik Max Francis Newsgroups: comp.os.msdos.djgpp Subject: Re: Memory leak. Date: Fri, 03 Oct 1997 23:38:02 -0700 Organization: Alcyone Systems Lines: 13 Message-ID: <3435E44A.5C65B10B@alcyone.com> References: <3 DOT 0 DOT 16 DOT 19971003101449 DOT 36e7aec2 AT hem1 DOT passagen DOT se> <613s4d$hrm AT dfw-ixnews3 DOT ix DOT netcom DOT com> NNTP-Posting-Host: newton.alcyone.com 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 firewind wrote: > int *foo = (int *)malloc(1024 * (sizeof int)); Tsk, tsk. sizeof int is illegal. You meant sizeof(int). -- Erik Max Francis, &tSftDotIotE / mailto:max AT alcyone DOT com Alcyone Systems / http://www.alcyone.com/max/ San Jose, California, United States / icbm://+37.20.07/-121.53.38 \ "After each war there is a little / less democracy to save." / Brooks Atkinson