diff options
author | Pedro Alves <palves@redhat.com> | 2017-01-31 17:56:36 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2017-01-31 23:34:14 +0000 |
commit | b47413b47e103677fedb7cd1301c62fee01ac4ba (patch) | |
tree | ca576e31a0df4506f1e51b40c64ea1002b8b621e /gdb/ChangeLog | |
parent | 60adb36c08942fd4a2f8bf598864254c043668a1 (diff) | |
download | gdb-b47413b47e103677fedb7cd1301c62fee01ac4ba.zip gdb-b47413b47e103677fedb7cd1301c62fee01ac4ba.tar.gz gdb-b47413b47e103677fedb7cd1301c62fee01ac4ba.tar.bz2 |
gdb/varobj.c: Fix leak
Whoops, this function returns a std::string.
gdb/ChangeLog:
2017-01-31 Pedro Alves <palves@redhat.com>
* varobj.c (varobj_value_get_print_value): Remove xstrdup call.
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 3e86d55..5e822f8 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 2017-01-31 Pedro Alves <palves@redhat.com> + * varobj.c (varobj_value_get_print_value): Remove xstrdup call. + +2017-01-31 Pedro Alves <palves@redhat.com> + * common/scoped_restore.h (scoped_restore_tmpl::scoped_restore_tmpl): Template on T2, and change the value's parameter type to T2. |