nis_freeresult (result);
internal_nisplus_getpwent_r (struct passwd *pw, char *buffer, size_t buflen){  int parse_res;  /* Get the next entry until we found a correct one. */  do    {      if (result == NULL)	{          if (tablename_val == NULL)            if (_nss_create_tablename () != NSS_STATUS_SUCCESS)              return NSS_STATUS_UNAVAIL;	  result = nis_first_entry(tablename_val);	  if (niserr2nss (result->status) != NSS_STATUS_SUCCESS)	    return niserr2nss (result->status);	}      else	{	  nis_result *res;	  res = nis_next_entry(tablename_val, &result->cookie);	  nis_freeresult (result);	  result = res;	  if (niserr2nss (result->status) != NSS_STATUS_SUCCESS)	    return niserr2nss (result->status);	}      parse_res = _nss_nisplus_parse_pwent (result, pw, buffer, buflen);    } while (!parse_res);  return NSS_STATUS_SUCCESS;}