From: "Marcus" Newsgroups: comp.os.msdos.djgpp Subject: Re: Prevent crash on free() Date: Tue, 29 Feb 2000 13:08:37 +0100 Organization: Telenordia Lines: 22 Message-ID: <89gd09$f0k$1@cubacola.tninet.se> References: NNTP-Posting-Host: 193.150.200.251 X-Trace: cubacola.tninet.se 951826249 15380 193.150.200.251 (29 Feb 2000 12:10:49 GMT) X-Complaints-To: abuse AT algo DOT net NNTP-Posting-Date: 29 Feb 2000 12:10:49 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 "Kalum Somaratna aka Grendel" wrote: > You want to know wehther it is a char *p, or a char *p=malloc(10); > Am I correct? Yes!! > so example code would be Ok, I try... Thanks... Maybe you can answer this. Is it possible to do a catch a crash? :) I mean, prevent the program from crashing. Instead raise an exception or something like that. -- /regards Marcus Hi, I'm a signature virus. plz set me as your signature and help me spread :)