public inbox for linux-newbie@vger.kernel.org
 help / color / mirror / Atom feed
* malloc and free
@ 2004-12-24 18:39 Ankit Jain
  2004-12-24 18:53 ` Ray Olszewski
  0 siblings, 1 reply; 3+ messages in thread
From: Ankit Jain @ 2004-12-24 18:39 UTC (permalink / raw)
  To: newbie

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

________________________________________________________________________
Yahoo! Messenger - Communicate instantly..."Ping" 
your friends today! Download Messenger Now 
http://uk.messenger.yahoo.com/download/index.html
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-12-25  3:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-24 18:39 malloc and free Ankit Jain
2004-12-24 18:53 ` Ray Olszewski
2004-12-25  3:16   ` Jagadeesh Bhaskar P

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox