X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fpick.c;h=a5e658d126554e9579e1feacbb29db8c163220f1;hp=a1b5effd29868bf68a7a383a91236f1dfb903b15;hb=6e7d34c614291079de750ceda1d4f5ec537beb81;hpb=d3425f7ef7287db6f843f27df8b9fa27da695562 diff --git a/uip/pick.c b/uip/pick.c index a1b5eff..a5e658d 100644 --- a/uip/pick.c +++ b/uip/pick.c @@ -768,8 +768,7 @@ newnexus(int (*action)()) { struct nexus *p; - if ((p = (struct nexus *) mh_xcalloc((size_t) 1, sizeof *p)) == NULL) - adios(EX_OSERR, NULL, "unable to allocate component storage"); + p = (struct nexus *) mh_xcalloc((size_t) 1, sizeof *p); p->n_action = action; return p;