Re: Patch attempting to take care of some memory errors
"Stéphane Bisinger" <[email protected]> Sat, 24 Feb 2007 15:24:40 +0000
| Newsgroups | gmane.network.centericq |
|---|---|
| Message-ID | <[email protected]> |
On 24/02/07, Håkan Kvist <[email protected]> wrote: > I have fiddled a little bit with the code (see attatched patch). > > What I have looked at is how memory is allocated and deallocated. > > I have trid to make sure that: > > * Memory allocated by malloc() is released by free() > * Memory allocated by new[] is released by delete[] > * Memory allocated by new is released by delete Great! As far as I can remember there is no checking either of the malloc return value, something that we should do... -- Stéphane _______________________________________________ Cicq mailing list [email protected] http://mailman.linuxpl.org/mailman/listinfo/cicq Questions? Check the FAQ first: http://centericq.de/faq/