diff --git a/builtins/evalstring.c b/builtins/evalstring.c index df3dd68e..53a7c0b8 100644 --- a/builtins/evalstring.c +++ b/builtins/evalstring.c @@ -762,6 +762,9 @@ open_redir_file (r, fnp) if (fnp) *fnp = fn; + else + free (fn); + return fd; } diff --git a/patchlevel.h b/patchlevel.h index 5998c62f..db0de52d 100644 --- a/patchlevel.h +++ b/patchlevel.h @@ -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_ */