Bash-5.2 patch 31: fix memory leak in optimized $(<file) expansion

This commit is contained in:
Chet Ramey
2024-08-01 11:37:23 -04:00
parent 6e45e752d6
commit 471fd9a3f0
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -762,6 +762,9 @@ open_redir_file (r, fnp)
if (fnp)
*fnp = fn;
else
free (fn);
return fd;
}