Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Plug a memleak
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Sun, 9 Jul 2006 23:34:37 +0000 (23:34 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Sun, 9 Jul 2006 23:34:37 +0000 (23:34 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@2509 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/amok/HostManagement/hostmanagement.c

index e9749c8..305e0f0 100644 (file)
@@ -277,6 +277,7 @@ void amok_hm_group_shutdown(const char *group_name) {
     amok_hm_kill_hp(host_it->name, host_it->port);
   }
 
     amok_hm_kill_hp(host_it->name, host_it->port);
   }
 
+  xbt_dynar_free(&group);
   xbt_dict_remove(g->groups,group_name);
 }
 /** \brief stops all members of the given remote group */
   xbt_dict_remove(g->groups,group_name);
 }
 /** \brief stops all members of the given remote group */