NEW etc.: Use NEW in all obvious places
[secnet] / transform-cbcmac.c
index 02cbd4c..ebf4702 100644 (file)
@@ -256,7 +256,7 @@ static list_t *transform_apply(closure_t *self, struct cloc loc,
     item_t *item;
     dict_t *dict;
 
-    st=safe_malloc(sizeof(*st),"serpent");
+    NEW(st);
     st->cl.description="serpent-cbc256";
     st->cl.type=CL_TRANSFORM;
     st->cl.apply=NULL;