]> git.ipfire.org Git - thirdparty/bash.git/blobdiff - dispose_cmd.c
Bash-4.3 patch 33
[thirdparty/bash.git] / dispose_cmd.c
index 4c25ae53963c6a8bc763fc85359501432d5768a0..c624605b5080a5ee144fe2747d72b7a3f5a59139 100644 (file)
@@ -309,6 +309,10 @@ dispose_redirects (list)
     {
       t = list;
       list = list->next;
+
+      if (t->rflags & REDIR_VARASSIGN)
+       dispose_word (t->redirector.filename);
+
       switch (t->instruction)
        {
        case r_reading_until: