diff options
author | Gary Benson <gbenson@redhat.com> | 2016-02-17 14:38:36 +0000 |
---|---|---|
committer | Gary Benson <gbenson@redhat.com> | 2016-02-17 16:47:11 +0000 |
commit | 88178e828a0d1af133c19d6165e4d5ee59304adf (patch) | |
tree | e7fad247c76fe4c4f09767b960c07ffbf06b7eb5 /gdb/ChangeLog | |
parent | b3e3e0b7813cda26829ddf73ba3f2d98bb391720 (diff) | |
download | gdb-88178e828a0d1af133c19d6165e4d5ee59304adf.zip gdb-88178e828a0d1af133c19d6165e4d5ee59304adf.tar.gz gdb-88178e828a0d1af133c19d6165e4d5ee59304adf.tar.bz2 |
Add missing cleanup in exec_file_locate_attach
exec_file_locate_attach allocates memory for full_exec_path (using
either exec_file_find, source_full_path_of or xstrdup) but this
memory is never freed. This commit adds the necessary cleanup.
gdb/ChangeLog:
* exec.c (exec_file_locate_attach): Add missing cleanup.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 327ce7b..e507dd1 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2016-02-17 Gary Benson <gbenson@redhat.com> + + * exec.c (exec_file_locate_attach): Add missing cleanup. + 2016-02-16 Don Breazeal <donb@codesourcery.com> PR remote/19496 |