comparison place.c @ 38:b156910b59b2

Wrap free() in dofree() to allow instrumenting it for debugging.
author David A. Holland
date Sat, 30 Mar 2013 21:02:25 -0400
parents 76c114899f63
children 337110e7240a
comparison
equal deleted inserted replaced
37:70902cac4170 38:b156910b59b2
72 72
73 static 73 static
74 void 74 void
75 placefile_destroy(struct placefile *pf) 75 placefile_destroy(struct placefile *pf)
76 { 76 {
77 free(pf->name); 77 dofree(pf->name);
78 free(pf); 78 dofree(pf);
79 } 79 }
80 80
81 DESTROYALL_ARRAY(placefile, ); 81 DESTROYALL_ARRAY(placefile, );
82 82
83 const struct placefile * 83 const struct placefile *