Revision 1f5baf20

View differences:

src/net_helper-udp.c
484 484

  
485 485
void nodeid_free(struct nodeID *s)
486 486
{
487
  free(s);
487
  if (s)
488
  {
489
    if (s->fd >= 0)
490
      close(s->fd);
491
    free(s);
492
  }
488 493
}
489 494

  
490 495
int node_ip(const struct nodeID *s, char *ip, int len)

Also available in: Unified diff