replaced calloc with mh_xcalloc
[mmh] / uip / pick.c
index b3bac28..819d81a 100644 (file)
@@ -768,7 +768,7 @@ newnexus(int (*action)())
 {
        struct nexus *p;
 
 {
        struct nexus *p;
 
-       if ((p = (struct nexus *) calloc((size_t) 1, sizeof *p)) == NULL)
+       if ((p = (struct nexus *) mh_xcalloc((size_t) 1, sizeof *p)) == NULL)
                adios(EX_OSERR, NULL, "unable to allocate component storage");
 
        p->n_action = action;
                adios(EX_OSERR, NULL, "unable to allocate component storage");
 
        p->n_action = action;