Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
plug some memleaks
[simgrid.git] / examples / gras / all2all / all2all.c
index 59e0a34..9efad71 100644 (file)
@@ -56,6 +56,7 @@ int receiver (int argc,char *argv[]) {
                   &expeditor,
                   &data);
      todo--;
+     free(data);
 
      INFO3("Got Data from %s:%d (still %d to go)",
           gras_socket_peer_name(expeditor), gras_socket_peer_port(expeditor),