Re: dFree()

[email protected]
Newsgroups gmane.comp.web.dillo.devel
Message-ID <[email protected]>
On Fri, Nov 09, 2012 at 05:18:45PM +0000, corvid wrote:
> Jorge wrote:
> > On Fri, Nov 09, 2012 at 12:47:14AM +0000, corvid wrote:
> > > 
> > > If dFree() is just free() now, is there a good reason not to remove it?
> > 
> >   Yes, it matches dNew & dNew0 (mnemonic).
> > 
> >   Also, it gets simpler to profile/debug memory allocation,
> > by instrumenting those primitives.
> 
> How about #define dFree() as free(), then?

Or #define free when you need to debug.  Or use LD_PRELOAD.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.