Use make_unique_xstrdup in TUI
authorTom Tromey <tom@tromey.com>
Tue, 10 Sep 2019 18:56:09 +0000 (12:56 -0600)
committerTom Tromey <tom@tromey.com>
Fri, 20 Sep 2019 19:49:12 +0000 (13:49 -0600)
commitf074b67ec812612637342a1647da9158a1e77de0
treef0cdc8bf43671b2cc89c0bd9e02167fb826c18e9
parent63c4bf1922d5553edb213606270b0e2782bbe4c8
Use make_unique_xstrdup in TUI

This changes a couple of spots in the TUI to use make_unique_xstrdup.
This simplifies the code slightly.

gdb/ChangeLog
2019-09-20  Tom Tromey  <tom@tromey.com>

* tui/tui-source.c (tui_source_window::set_contents): Use
make_unique_xstrdup.
* tui/tui-disasm.c (tui_disasm_window::set_contents): Use
make_unique_xstrdup.
gdb/ChangeLog
gdb/tui/tui-disasm.c
gdb/tui/tui-source.c
This page took 0.025241 seconds and 4 git commands to generate.