From: "Marcus" Newsgroups: comp.os.msdos.djgpp Subject: Re: Prevent crash on free() Date: Mon, 28 Feb 2000 17:27:01 +0100 Organization: Telenordia Lines: 20 Message-ID: <89e7oq$cmv$1@cubacola.tninet.se> References: <89e5e3$8g1$1 AT cubacola DOT tninet DOT se> <89e72m$hpt$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE> NNTP-Posting-Host: 193.150.200.251 X-Trace: cubacola.tninet.se 951755354 13023 193.150.200.251 (28 Feb 2000 16:29:14 GMT) X-Complaints-To: abuse AT algo DOT net NNTP-Posting-Date: 28 Feb 2000 16:29:14 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Sorry but that's my attitude :) I do a library and I want a way to check if I can free the memory. Of course I can ignore that. But how fun would it be with memory leaks? -- /regards Marcus Hi, I'm a signature virus. plz set me as your signature and help me spread :) "Hans-Bernhard Broeker" wrote: > That's the wrong attitude towards the problem. Don't use free() > carelessly, and it won't crash on you. You're asking us how to cure > the symptoms, instead of how to fix the disease they tell you about. >