Hi! How about posting the entire code so that we can make sure that you're allocating the memory properly before calling free().
Regards, -Varun On Thu, Apr 11, 2002 at 09:18:41PM +0530, Arindam Bhattacharjee spoke out thus: > Hello, > Although it is a Linux UG and not a C UG, yet can someone please solve my > one problem. In my program (written in C under Linux OS) whenever, wherever > free() call appears, it creates a run time error.The same progam is very fine > without the free() calls. Is there anything to do with the compiler flags? > Can someone please help. > Arindam > > ================================================ > To subscribe, send email to [EMAIL PROTECTED] with subscribe in subject header > To unsubscribe, send email to [EMAIL PROTECTED] with unsubscribe in subject >header > Archives are available at http://www.mail-archive.com/ilugd%40wpaa.org > ================================================= -- --------------------------------------- Mindframe Software & Services Pvt. Ltd. http://www.mindsw.com --------------------------------------- ================================================ To subscribe, send email to [EMAIL PROTECTED] with subscribe in subject header To unsubscribe, send email to [EMAIL PROTECTED] with unsubscribe in subject header Archives are available at http://www.mail-archive.com/ilugd%40wpaa.org =================================================