Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
leak--
authorsuter <frederic.suter@cc.in2p3.fr>
Fri, 30 May 2014 18:56:47 +0000 (20:56 +0200)
committersuter <frederic.suter@cc.in2p3.fr>
Fri, 30 May 2014 18:56:47 +0000 (20:56 +0200)
examples/msg/io/remote.c

index c0e263d..3a141bc 100644 (file)
@@ -71,6 +71,7 @@ int host(int argc, char *argv[]){
            MSG_file_get_size(file), MSG_host_get_name(src),
            argv[3]);
       MSG_file_rcopy(file, dest, argv[4]);
+      MSG_file_close(file);
     }
   }