diff 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
line wrap: on
line diff
--- a/place.c	Sat Mar 30 20:52:59 2013 -0400
+++ b/place.c	Sat Mar 30 21:02:25 2013 -0400
@@ -74,8 +74,8 @@
 void
 placefile_destroy(struct placefile *pf)
 {
-	free(pf->name);
-	free(pf);
+	dofree(pf->name);
+	dofree(pf);
 }
 
 DESTROYALL_ARRAY(placefile, );