From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ankit Jain Subject: malloc and free Date: Fri, 24 Dec 2004 18:39:56 +0000 (GMT) Message-ID: <20041224183956.11788.qmail@web52909.mail.yahoo.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7BIT Return-path: Sender: linux-newbie-owner@vger.kernel.org List-Id: Content-Type: text/plain; charset="us-ascii" 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