diff --git a/src/plugins/select/bluegene/block_allocator/block_allocator.c b/src/plugins/select/bluegene/block_allocator/block_allocator.c
index b0d370073191e0d3aa712911780c6a50bdc875d3..3e2e29548910d5a6ca10bf42bfa0f8d11a753adc 100644
--- a/src/plugins/select/bluegene/block_allocator/block_allocator.c
+++ b/src/plugins/select/bluegene/block_allocator/block_allocator.c
@@ -182,7 +182,7 @@ extern int parse_blockreq(void **dest, slurm_parser_enum_t type,
 		{NULL}
 	};
 	s_p_hashtbl_t *tbl;
-	char *tmp=NULL;
+	char *tmp = NULL;
 	blockreq_t *n = NULL;
 
 	tbl = s_p_hashtbl_create(block_options);
@@ -198,6 +198,7 @@ extern int parse_blockreq(void **dest, slurm_parser_enum_t type,
 		n->conn_type = SELECT_MESH;
 	else
 		n->conn_type = SELECT_SMALL;
+	xfree(tmp);
 	
 	if (!s_p_get_uint16(&n->nodecards, "Nodecards", tbl))
 		n->nodecards = 0;