[mpich2-commits] r4009 - mpich2/trunk/src/pm/hydra/launcher/utils

balaji at mcs.anl.gov balaji at mcs.anl.gov
Wed Mar 11 04:33:14 CDT 2009


Author: balaji
Date: 2009-03-11 04:33:14 -0500 (Wed, 11 Mar 2009)
New Revision: 4009

Modified:
   mpich2/trunk/src/pm/hydra/launcher/utils/lchu.c
   mpich2/trunk/src/pm/hydra/launcher/utils/lchu.h
Log:
Fix incorrect freeing of variables.


Modified: mpich2/trunk/src/pm/hydra/launcher/utils/lchu.c
===================================================================
--- mpich2/trunk/src/pm/hydra/launcher/utils/lchu.c	2009-03-11 08:47:38 UTC (rev 4008)
+++ mpich2/trunk/src/pm/hydra/launcher/utils/lchu.c	2009-03-11 09:33:14 UTC (rev 4009)
@@ -210,26 +210,6 @@
 }
 
 
-HYD_Status HYD_LCHU_Free_io(void)
-{
-    struct HYD_Proc_params *proc_params;
-    struct HYD_Partition_list *partition;
-    HYD_Status status = HYD_SUCCESS;
-
-    HYDU_FUNC_ENTER();
-
-    for (proc_params = handle.proc_params; proc_params; proc_params = proc_params->next) {
-        for (partition = proc_params->partition; partition; partition = partition->next) {
-            HYDU_FREE(partition->out);
-            HYDU_FREE(partition->err);
-        }
-    }
-
-    HYDU_FUNC_EXIT();
-    return status;
-}
-
-
 HYD_Status HYD_LCHU_Free_exec(void)
 {
     struct HYD_Proc_params *proc_params;

Modified: mpich2/trunk/src/pm/hydra/launcher/utils/lchu.h
===================================================================
--- mpich2/trunk/src/pm/hydra/launcher/utils/lchu.h	2009-03-11 08:47:38 UTC (rev 4008)
+++ mpich2/trunk/src/pm/hydra/launcher/utils/lchu.h	2009-03-11 09:33:14 UTC (rev 4009)
@@ -13,7 +13,6 @@
 HYD_Status HYD_LCHU_Free_host_list(void);
 HYD_Status HYD_LCHU_Create_env_list(void);
 HYD_Status HYD_LCHU_Free_env_list(void);
-HYD_Status HYD_LCHU_Free_io(void);
 HYD_Status HYD_LCHU_Free_exec(void);
 HYD_Status HYD_LCHU_Free_proc_params(void);
 



More information about the mpich2-commits mailing list