Bash-4.4 patch 17

This commit is contained in:
Chet Ramey 2018-01-29 16:04:37 -05:00
commit b3a5ec8dd5
2 changed files with 6 additions and 1 deletions

View file

@ -690,6 +690,11 @@ add_char:
input_string[i] = '\0'; input_string[i] = '\0';
CHECK_ALRM; CHECK_ALRM;
#if defined (READLINE)
if (edit)
free (rlbuf);
#endif
if (retval < 0) if (retval < 0)
{ {
t_errno = errno; t_errno = errno;

View file

@ -25,6 +25,6 @@
regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh
looks for to find the patch level (for the sccs version string). */ looks for to find the patch level (for the sccs version string). */
#define PATCHLEVEL 16 #define PATCHLEVEL 17
#endif /* _PATCHLEVEL_H_ */ #endif /* _PATCHLEVEL_H_ */