obj = calloc (1, sizeof (nis_object)); if (obj == NULL) { fclose (in); return NULL; }
nis_read_obj (const char *name){  XDR xdrs;  FILE *in;  bool_t status;  nis_object *obj = calloc (1, sizeof (nis_object));  if (obj == NULL)    return NULL;  in = fopen (name, "rb");  if (in == NULL)    return NULL;  xdrstdio_create (&xdrs, in, XDR_DECODE);  status =_xdr_nis_object (&xdrs, obj);  xdr_destroy (&xdrs);  fclose (in);  if (status)    return obj;  else    {      nis_free_object (obj);      return NULL;    }}