X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fap.c;h=e2d43dabde09ab34989ca18853d214b8d942bcaf;hp=8156517babfd622ea597bb5c0c0b0e72b4a097c2;hb=7a13a5266a14f1c6a13752db9292cd40c1211fba;hpb=6e27d395a60fe59a274edc47989b9b8127359f36 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);