Date: Wed, 11 May 94 23:14:11 -0400 From: dj AT ctron DOT com (DJ Delorie) To: ahelm AT email DOT tuwien DOT ac DOT at Cc: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Re: malloc(), calloc(), free(), cfree() ??? > What is the difference in memory allocation using malloc() or calloc() that > causes the different release commands ? > > My problem is that I should port a program where malloc() and calloc() are > mixed and only free() is used. Do I have to expect troubles ? In djgpp, cfree calls free. This doesn't mean that other systems will do so also, so you should plan on needing to port it if you encounter a system that doesn't.