07a490
diff -up bash-4.2/subst.c.old bash-4.2/subst.c
07a490
--- bash-4.2/subst.c.old	2015-12-09 13:24:47.369738319 +0100
07a490
+++ bash-4.2/subst.c	2015-12-09 13:28:27.366024824 +0100
07a490
@@ -2713,6 +2713,8 @@ do_compound_assignment (name, value, fla
07a490
       else if (v == 0 || (array_p (v) == 0 && assoc_p (v) == 0) || v->context != variable_context)
07a490
         v = make_local_array_variable (name);
07a490
       assign_compound_array_list (v, list, flags);
07a490
+      if (list)
07a490
+	dispose_words (list);
07a490
     }
07a490
   else
07a490
     v = assign_array_from_string (name, value, flags);