diff --git a/src/sacctmgr/account_functions.c b/src/sacctmgr/account_functions.c
index 40d97530d7a05361f8ce9b1e3ea77b6b1a5e7b2c..6a83719b581e33ee8528ff72dd3c450cb7a425f9 100644
--- a/src/sacctmgr/account_functions.c
+++ b/src/sacctmgr/account_functions.c
@@ -678,7 +678,8 @@ extern int sacctmgr_add_account(int argc, char *argv[])
 	}
 
 end_it:
-	list_destroy(add_qos_list);
+	if(add_qos_list)
+		list_destroy(add_qos_list);
 	list_destroy(acct_list);
 	list_destroy(assoc_list);
 		
diff --git a/src/sacctmgr/user_functions.c b/src/sacctmgr/user_functions.c
index 2f0d03a26011644047b6c7c2f6d24df32f9c70b9..acaf69df75e1a5f729cd957b97bc8b10d79def49 100644
--- a/src/sacctmgr/user_functions.c
+++ b/src/sacctmgr/user_functions.c
@@ -754,7 +754,8 @@ no_default:
 	}
 
 end_it:
-	list_destroy(add_qos_list);
+	if(add_qos_list)
+		list_destroy(add_qos_list);
 	list_destroy(user_list);
 	list_destroy(assoc_list);
 	xfree(default_acct);