From 7871edbd0302bbd26c625df69ef5f93585cbd44d Mon Sep 17 00:00:00 2001
From: Danny Auble <da@llnl.gov>
Date: Wed, 25 Mar 2009 18:41:18 +0000
Subject: [PATCH] svn merge -r17018:17020
 https://eris.llnl.gov/svn/slurm/branches/slurm-1.3

---
 src/plugins/select/bluegene/plugin/bluegene.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/plugins/select/bluegene/plugin/bluegene.c b/src/plugins/select/bluegene/plugin/bluegene.c
index d688aee7703..0984e41c16c 100644
--- a/src/plugins/select/bluegene/plugin/bluegene.c
+++ b/src/plugins/select/bluegene/plugin/bluegene.c
@@ -1292,7 +1292,7 @@ no_calc:
 extern int validate_current_blocks(char *dir)
 {
 	/* found bg blocks already on system */
-	List bg_found_block_list = list_create(NULL);
+	List bg_found_block_list = NULL;
 	static time_t last_config_update = (time_t) 0;
 
 	/* only run on startup */
@@ -1300,6 +1300,7 @@ extern int validate_current_blocks(char *dir)
 		return SLURM_SUCCESS;
 
 	last_config_update = time(NULL);
+	bg_found_block_list = list_create(NULL);
 //#if 0	
 	/* Check to see if the configs we have are correct */
 	if (_validate_config_nodes(&bg_found_block_list, dir) == SLURM_ERROR) { 
-- 
GitLab