chiark / gitweb /
cleanup: Replace a few calls to malloc/realloc with safe_malloc
[secnet.git] / transform-cbcmac.c
index 1390ee884a9ff70eefb5e17b970be05637839033..fac8649587e58cb9451bf88317fed943f36ad82a 100644 (file)
@@ -336,7 +336,7 @@ void transform_cbcmac_module(dict_t *dict)
        const char *errmsg;
        int i;
 
-       tr = malloc(sizeof(struct transform));
+       tr = safe_malloc(sizeof(struct transform),"test transform");
        tr->max_seq_skew = 20;
        ti = transform_create(tr);