dillo-dev@lists.auriga.wearlab.de
Discussion:
dFree()
corvid
2012-11-09 00:47:14 UTC
Permalink
If dFree() is just free() now, is there a good reason not to remove it?
Jorge Arellano Cid
2012-11-09 13:42:24 UTC
Permalink
Post by corvid
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.
--
Cheers
Jorge.-
corvid
2012-11-09 17:18:45 UTC
Permalink
Post by Jorge Arellano Cid
Post by corvid
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?
p***@public.gmane.org
2012-11-09 17:30:16 UTC
Permalink
Post by corvid
Post by Jorge Arellano Cid
Post by corvid
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.
3 Replies
1 View
Permalink to this page
Disable enhanced parsing
Thread Navigation
corvid
2012-11-09 00:47:14 UTC
Jorge Arellano Cid
2012-11-09 13:42:24 UTC
corvid
2012-11-09 17:18:45 UTC
p***@public.gmane.org
2012-11-09 17:30:16 UTC
Loading...