X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/337b4e616e8f53ba06285b1645e1df9918ed5c16..34f0ab116ad7734e96127d3cd046861a5c82c11c:/uip/picksbr.c diff --git a/uip/picksbr.c b/uip/picksbr.c index d444cd68..99d976d7 100644 --- a/uip/picksbr.c +++ b/uip/picksbr.c @@ -459,9 +459,7 @@ newnexus (int (*action)()) { register struct nexus *p; - if ((p = (struct nexus *) calloc ((size_t) 1, sizeof *p)) == NULL) - adios (NULL, "unable to allocate component storage"); - + p = mh_xcalloc(1, sizeof *p); p->n_action = action; return p; }