X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Frcvdist.c;h=1337c893fe5693e1e3334c423b1903f1a41ff241;hb=d5d94ce76327869346e2b02b7b02a3620ddd38eb;hp=89bb1dc5747b37eec751b85c203c69bc89d6e547;hpb=5ba9c2f13fedf1d8d6ed907ef1f505616290efaa;p=mmh 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"); }