gEDA-dev: PCB MyFree
DJ Delorie
dj at delorie.com
Thu Jun 22 11:38:53 EDT 2006
> There is already a hook to use <dmalloc.h>. Surely they do all this
> better than we do. Would it be better to drop all this stuff, and
> go back to the raw (possibly dmalloc-ified) malloc() and free()?
I would be OK with that. Or, follow the GNU conventions and define
xmalloc(), xrealloc(), xcalloc(), and xfree() that act in a
well-defined way when passed NULL or zero length.
More information about the geda-dev
mailing list