chiark / gitweb /
NEW etc.: Use NEW in all obvious places
[secnet.git] / transform-cbcmac.c
index 02cbd4c2bf634bd4393c432b899f55610a7843c0..ebf47028ae3fdfbe4f9b77a2373d199ce6de376a 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;