2011-03-04 Michael Snyder <msnyder@vmware.com>
authorMichael Snyder <msnyder@vmware.com>
Fri, 4 Mar 2011 18:12:47 +0000 (18:12 +0000)
committerMichael Snyder <msnyder@vmware.com>
Fri, 4 Mar 2011 18:12:47 +0000 (18:12 +0000)
* bind.c (rl_function_dumper): Free allocated memory.

readline/ChangeLog.gdb
readline/bind.c

index 8f84182ac018c90d837dd4c17db8f45981414c62..4a09ea5fc401cca46a86bb5ab27a05d88931fba6 100644 (file)
@@ -1,3 +1,7 @@
+2011-03-04  Michael Snyder  <msnyder@vmware.com>
+
+       * bind.c (rl_function_dumper): Free allocated memory.
+
 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
        * configure: Regenerate.
index 7559d32f6b36ce40615e8c634584735d95599d26..1ba28b4b673aac22cb9bc6e1cf7c7fc10f04f045 100644 (file)
@@ -2068,6 +2068,7 @@ rl_function_dumper (print_readably)
            }
        }
     }
+  free (names);
 }
 
 /* Print all of the current functions and their bindings to