aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2011-03-04 18:12:47 +0000
committerMichael Snyder <msnyder@vmware.com>2011-03-04 18:12:47 +0000
commite35ea4e0fb3974ee7b337d15f7c2c152b4086ec2 (patch)
tree852842894a291169723328af6fda0a5042d8278f
parent2011-03-04 Michael Snyder <msnyder@vmware.com> (diff)
downloadbinutils-gdb-e35ea4e0fb3974ee7b337d15f7c2c152b4086ec2.tar.gz
binutils-gdb-e35ea4e0fb3974ee7b337d15f7c2c152b4086ec2.tar.bz2
binutils-gdb-e35ea4e0fb3974ee7b337d15f7c2c152b4086ec2.zip
2011-03-04 Michael Snyder <msnyder@vmware.com>
* bind.c (rl_function_dumper): Free allocated memory.
-rw-r--r--readline/ChangeLog.gdb4
-rw-r--r--readline/bind.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/readline/ChangeLog.gdb b/readline/ChangeLog.gdb
index 8f84182ac01..4a09ea5fc40 100644
--- a/readline/ChangeLog.gdb
+++ b/readline/ChangeLog.gdb
@@ -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.
diff --git a/readline/bind.c b/readline/bind.c
index 7559d32f6b3..1ba28b4b673 100644
--- a/readline/bind.c
+++ b/readline/bind.c
@@ -2068,6 +2068,7 @@ rl_function_dumper (print_readably)
}
}
}
+ free (names);
}
/* Print all of the current functions and their bindings to