chiark / gitweb /
NEW etc.: Use NEW in all obvious places
[secnet.git] / transform-eax.c
index d1ff1bedf2c7b7546c918b553fbf2a9d265fd1d3..906d2b30b6c6b15e7a6dcc6dd6feb33716e40ef1 100644 (file)
@@ -258,7 +258,7 @@ static list_t *transform_apply(closure_t *self, struct cloc loc,
     item_t *item;
     dict_t *dict;
 
-    st=safe_malloc(sizeof(*st),"eax-serpent");
+    NEW(st);
     st->cl.description="eax-serpent";
     st->cl.type=CL_TRANSFORM;
     st->cl.apply=NULL;