X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Frcvdist.c;h=1337c893fe5693e1e3334c423b1903f1a41ff241;hp=89bb1dc5747b37eec751b85c203c69bc89d6e547;hb=e16d5bfc58d8b0dfe61701cd4d6b1732e837d60a;hpb=72795bfcbe9f7fee8927b1a4942c0230b0f857a8 diff --git a/uip/rcvdist.c b/uip/rcvdist.c index 89bb1dc..1337c89 100644 --- a/uip/rcvdist.c +++ b/uip/rcvdist.c @@ -171,11 +171,11 @@ rcvdistout(FILE *inb, char *form, char *addrs) format_len = strlen(cp); ncomps = fmt_compile(cp, &fmt) + 1; if (!(nxtbuf = compbuffers = - (char **) calloc((size_t) ncomps, sizeof(char *)))) { + (char **) mh_xcalloc((size_t) ncomps, sizeof(char *)))) { adios(EX_OSERR, NULL, "unable to allocate component buffers"); } if (!(savecomp = used_buf = - (struct comp **) calloc((size_t) (ncomps + 1), + (struct comp **) mh_xcalloc((size_t) (ncomps + 1), sizeof(struct comp *)))) { adios(EX_OSERR, NULL, "unable to allocate component buffer stack"); }