From: Chet Ramey Date: Mon, 29 Jan 2018 21:04:37 +0000 (-0500) Subject: Bash-4.4 patch 17 X-Git-Tag: bash-5.0-alpha~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b3a5ec8dd510a68dc850f3f516c0cf9afd87451f;p=thirdparty%2Fbash.git Bash-4.4 patch 17 --- diff --git a/builtins/read.def b/builtins/read.def index 33821f3f6..803bea353 100644 --- a/builtins/read.def +++ b/builtins/read.def @@ -690,6 +690,11 @@ add_char: input_string[i] = '\0'; CHECK_ALRM; +#if defined (READLINE) + if (edit) + free (rlbuf); +#endif + if (retval < 0) { t_errno = errno; diff --git a/patchlevel.h b/patchlevel.h index 9074f4ddf..98e714da8 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 16 +#define PATCHLEVEL 17 #endif /* _PATCHLEVEL_H_ */