]> git.ipfire.org Git - thirdparty/bash.git/commitdiff
Bash-4.4 patch 17
authorChet Ramey <chet.ramey@case.edu>
Mon, 29 Jan 2018 21:04:37 +0000 (16:04 -0500)
committerChet Ramey <chet.ramey@case.edu>
Mon, 29 Jan 2018 21:04:37 +0000 (16:04 -0500)
builtins/read.def
patchlevel.h

index 33821f3f6c38399a00089d1dd8cdf2a3eeaf0832..803bea3532571f7eeb6df0747e48284c728ab837 100644 (file)
@@ -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;
index 9074f4ddf987981a48310ff80666659c95600300..98e714da8ade026f11f000ded6eefc148ad26a95 100644 (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 16
+#define PATCHLEVEL 17
 
 #endif /* _PATCHLEVEL_H_ */