X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=slip.c;fp=slip.c;h=a23675253c603fb580c81ae0954b8e7943d1128f;hb=b7886fd46ab05c97b8a072e497903622bd1d5290;hp=fad0a7ee394fa2a764e9853129f68cc19dac55b8;hpb=8f828e0ffdab1adb6f28fd705c5830ef8f7ac2b4;p=secnet.git diff --git a/slip.c b/slip.c index fad0a7e..a236752 100644 --- a/slip.c +++ b/slip.c @@ -419,7 +419,7 @@ static list_t *userv_apply(closure_t *self, struct cloc loc, dict_t *context, item_t *item; dict_t *dict; - st=safe_malloc(sizeof(*st),"userv_apply"); + NEW(st); /* First parameter must be a dict */ item=list_elem(args,0);