gdb/varobj.c: Fix leak
authorPedro Alves <palves@redhat.com>
Tue, 31 Jan 2017 17:56:36 +0000 (17:56 +0000)
committerPedro Alves <palves@redhat.com>
Tue, 31 Jan 2017 23:34:14 +0000 (23:34 +0000)
commitb47413b47e103677fedb7cd1301c62fee01ac4ba
treeca576e31a0df4506f1e51b40c64ea1002b8b621e
parent60adb36c08942fd4a2f8bf598864254c043668a1
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.
gdb/ChangeLog
gdb/varobj.c
This page took 0.024166 seconds and 4 git commands to generate.