9 Nov
2012
9 Nov
'12
5:30 p.m.
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.