Revision a9d7dd3b

View differences:

loop-mt.c
54 54
      default:
55 55
        fprintf(stderr, "Unknown Message Type %x\n", buff[0]);
56 56
    }
57
    free(remote);
57
    nodeid_free(remote);
58 58
  }
59 59

  
60 60
  return NULL;
......
82 82
      default:
83 83
        fprintf(stderr, "Unknown Message Type %x\n", buff[0]);
84 84
    }
85
    free(remote);
85
    nodeid_free(remote);
86 86
  }
87 87

  
88 88
  return NULL;
loop.c
63 63
        default:
64 64
          fprintf(stderr, "Unknown Message Type %x\n", buff[0]);
65 65
      }
66
      free(remote);
66
      nodeid_free(remote);
67 67
    } else {
68 68
      const struct nodeID **neighbours;
69 69
      int n;
......
108 108
        default:
109 109
          fprintf(stderr, "Bad Message Type %x\n", buff[0]);
110 110
      }
111
      free(remote);
111
      nodeid_free(remote);
112 112
    } else {
113 113
      const struct nodeID **neighbours;
114 114
      int i, n, res;

Also available in: Unified diff