Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
plug an harmless leak
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Fri, 26 Jun 2009 20:21:57 +0000 (20:21 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Fri, 26 Jun 2009 20:21:57 +0000 (20:21 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@6370 48e7efb5-ca39-0410-a469-dd3cf9ba447f

examples/msg/masterslave/masterslave_forwarder.c

index 3ddef7c..167033d 100644 (file)
@@ -168,7 +168,8 @@ int forwarder(int argc, char *argv[])
       xbt_assert0(0, "Unexpected behavior");
     }
   }
-
+  xbt_free(slaves);
+   
   INFO0("I'm done. See you!");
   return 0;
 }                               /* end_of_forwarder */