X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/337b4e616e8f53ba06285b1645e1df9918ed5c16..1af33bc5b6f8b127b2bcd68804d32ecac3ee5943:/uip/picksbr.c?ds=inline diff --git a/uip/picksbr.c b/uip/picksbr.c index d444cd68..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 *) calloc ((size_t) 1, sizeof *p)) == NULL) - adios (NULL, "unable to allocate component storage"); - + NEW0(p); p->n_action = action; return p; }