X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/d6b2ae5fa68b9a82ffc006c233aef64c5cdb3bd2..1af33bc5b6f8b127b2bcd68804d32ecac3ee5943:/uip/picksbr.c?ds=inline diff --git a/uip/picksbr.c b/uip/picksbr.c index 3c2107c2..5ef4fc58 100644 --- a/uip/picksbr.c +++ b/uip/picksbr.c @@ -459,9 +459,7 @@ newnexus (int (*action)()) { register struct nexus *p; - if ((p = (struct nexus *) mh_xcalloc ((size_t) 1, sizeof *p)) == NULL) - adios (NULL, "unable to allocate component storage"); - + NEW0(p); p->n_action = action; return p; }