Revision c8c4c779

View differences:

chunk_signaling.c
225 225
          ret = -1;
226 226
    }
227 227
    
228
    chunkID_set_clear(c_set,0);
229
    free(c_set);
228
    chunkID_set_free(c_set);
230 229
    free(meta);
231 230
    return ret;
232 231
}
streaming.c
76 76
    }
77 77
  }
78 78

  
79
  free(my_bmap);
79
  chunkID_set_free(my_bmap);
80 80
  return cset_acc;
81 81
}
82 82

  
......
85 85
  struct chunkID_set *my_bmap = cb_to_bmap(cb);
86 86
   sendMyBufferMap(to->id, my_bmap, cb_size, 0);
87 87

  
88
  chunkID_set_clear(my_bmap,0);
89
  free(my_bmap);
88
  chunkID_set_free(my_bmap);
90 89
}
91 90

  
92 91
void received_chunk(struct peerset *pset, struct nodeID *from, const uint8_t *buff, int len)

Also available in: Unified diff