X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fpick.c;h=320db1981a74a7261c4ff5b86c33873067b20017;hp=2d2bd6505c49385a0909e92bdbd390e2abc33389;hb=7a13a5266a14f1c6a13752db9292cd40c1211fba;hpb=6e27d395a60fe59a274edc47989b9b8127359f36 diff --git a/uip/pick.c b/uip/pick.c index 2d2bd65..320db19 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;