X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fap.c;h=8156517babfd622ea597bb5c0c0b0e72b4a097c2;hp=acf3cacee5ad913281f5407814a3c059874b07a5;hb=a1a744d898ec8842871dca302e6ae54d9233413f;hpb=5ba9c2f13fedf1d8d6ed907ef1f505616290efaa diff --git a/uip/ap.c b/uip/ap.c index acf3cac..8156517 100644 --- a/uip/ap.c +++ b/uip/ap.c @@ -9,6 +9,7 @@ #include #include #include +#include #include #include @@ -138,7 +139,7 @@ process(char *arg, int norm) (q = &pq)->pq_next = NULL; while ((cp = getname(arg))) { if ((p = (struct pqpair *) - calloc((size_t) 1, sizeof(*p))) == NULL) + mh_xcalloc((size_t) 1, sizeof(*p))) == NULL) adios(EX_OSERR, NULL, "unable to allocate pqpair memory"); if ((mp = getm(cp, NULL, 0, norm, error)) == NULL) { p->pq_text = getcpy(cp);