Re: malloc and free

2004-12-24 Thread Jagadeesh Bhaskar P
, Ray Olszewski wrote: > At 06:39 PM 12/24/2004 +, Ankit Jain wrote: > >hi > > > >routine xyz uses malloc and free functions. it gives > >accurate and correct result if called once. > > > >but if the function is called in a loop N number of > >times then pr

Re: malloc and free

2004-12-24 Thread Ray Olszewski
At 06:39 PM 12/24/2004 +, Ankit Jain wrote: hi routine xyz uses malloc and free functions. it gives accurate and correct result if called once. but if the function is called in a loop N number of times then probably it gives segmentation fault. what is the reason? can any body guess or test

malloc and free

2004-12-24 Thread Ankit Jain
hi routine xyz uses malloc and free functions. it gives accurate and correct result if called once. but if the function is called in a loop N number of times then probably it gives segmentation fault. what is the reason? can any body guess or test code is needed? thanks ankit jain