chiark / gitweb /
NEW etc.: Use NEW in all obvious places
[secnet.git] / slip.c
diff --git a/slip.c b/slip.c
index fad0a7ee394fa2a764e9853129f68cc19dac55b8..a23675253c603fb580c81ae0954b8e7943d1128f 100644 (file)
--- a/slip.c
+++ b/slip.c
@@ -419,7 +419,7 @@ static list_t *userv_apply(closure_t *self, struct cloc loc, dict_t *context,
     item_t *item;
     dict_t *dict;
 
-    st=safe_malloc(sizeof(*st),"userv_apply");
+    NEW(st);
 
     /* First parameter must be a dict */
     item=list_elem(args,0);