Use unique_xmalloc_ptr in c_type_print_base
authorTom Tromey <tom@tromey.com>
Thu, 2 Nov 2017 01:16:58 +0000 (19:16 -0600)
committerTom Tromey <tom@tromey.com>
Sat, 4 Nov 2017 16:27:19 +0000 (10:27 -0600)
commit331b71e5ee226cb5455969899274f0e43e83aa1e
tree2c93c5534a3bd910b031813cad9a040669f47101
parent9f584b37e36b67009fa23b6cffbec1bf691ef9ba
Use unique_xmalloc_ptr in c_type_print_base

This changes c_type_print_base to use unique_xmalloc_ptr, removing a
cleanup.

gdb/ChangeLog
2017-11-04  Tom Tromey  <tom@tromey.com>

* c-typeprint.c (c_type_print_base): Use gdb::unique_xmalloc_ptr.
gdb/ChangeLog
gdb/c-typeprint.c