X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=blobdiff_plain;f=dh.c;h=54d3102e00163bebf9b45d581dbcbfee2e32766f;hb=93910f6a123c1a3972978c7a9134a42f38f1ac74;hp=c37b5386359294f856fb08eaf156a4c2ca586856;hpb=7c9ca4bd3cf857d45d931f224fe6415b36d1cffe;p=secnet.git diff --git a/dh.c b/dh.c index c37b538..54d3102 100644 --- a/dh.c +++ b/dh.c @@ -63,7 +63,7 @@ static list_t *dh_apply(closure_t *self, struct cloc loc, dict_t *context, string_t p,g; item_t *i; - st=safe_malloc(sizeof(*st),"dh_apply"); + NEW(st); st->cl.description="dh"; st->cl.type=CL_DH; st->cl.apply=NULL;