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;
}
+1 -1
View File
@@ -25,6 +25,6 @@
regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh
looks for to find the patch level (for the sccs version string). */
#define PATCHLEVEL 30
#define PATCHLEVEL 31
#endif /* _PATCHLEVEL_H_ */