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