chiark / gitweb /
NEW etc.: Use NEW in all obvious places
[secnet.git] / site.c
diff --git a/site.c b/site.c
index 1c57a8a66b6296ca305b7efab2d4cf9035838c56..94da06ccafd9b47f2e51d3e60e42589270a66b2d 100644 (file)
--- a/site.c
+++ b/site.c
@@ -1927,7 +1927,7 @@ static list_t *site_apply(closure_t *self, struct cloc loc, dict_t *context,
     dict_t *dict;
     int i;
 
-    st=safe_malloc(sizeof(*st),"site_apply");
+    NEW(st);
 
     st->cl.description="site";
     st->cl.type=CL_SITE;