diff --git a/src/common/forward.c b/src/common/forward.c
index 82c4ffb87435755aec6a16fcb28122771dfac652..5b91b16b630ea2728e68b32197475544a90f1f8d 100644
--- a/src/common/forward.c
+++ b/src/common/forward.c
@@ -402,6 +402,7 @@ extern int forward_msg(forward_struct_t *forward_struct,
 				fatal("Can't create pthread");
 			sleep(1);	/* sleep and try again */
 		}
+		slurm_attr_destroy(&attr_agent);
 		thr_count++; 
 	}
 	hostlist_destroy(hl);