X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/a30e7865b46712fe346d8a91894ab68aac664901..39bfc0b25d39979d1ec47b14e69a4f17ea3493ab:/uip/ap.c diff --git a/uip/ap.c b/uip/ap.c index 0b57e652..92b765af 100644 --- a/uip/ap.c +++ b/uip/ap.c @@ -155,8 +155,7 @@ process (char *arg, int length) (q = &pq)->pq_next = NULL; while ((cp = getname (arg))) { - if ((p = (struct pqpair *) mh_xcalloc ((size_t) 1, sizeof(*p))) == NULL) - adios (NULL, "unable to allocate pqpair memory"); + NEW0(p); if ((mp = getm (cp, NULL, 0, error, sizeof(error))) == NULL) { p->pq_text = getcpy (cp); p->pq_error = getcpy (error);