Remove cleanups from solib.c
authorTom Tromey <tom@tromey.com>
Tue, 6 Feb 2018 20:00:40 +0000 (13:00 -0700)
committerTom Tromey <tom@tromey.com>
Thu, 8 Feb 2018 18:46:57 +0000 (11:46 -0700)
commit9a897d43f034544cd09292d0fb6fded7eb64ae8d
treef7e78bae3146839ac2020caa236166f7a289d5d8
parent58ef3771fbbdf7fd891fceefdd4bf2720c6c1ee7
Remove cleanups from solib.c

This removes a couple of cleanups from solib.c, replacing one with
std::string and another with unique_xmalloc_ptr.

2018-02-08  Tom Tromey  <tom@tromey.com>

* solib.c (solib_find_1): Use std::string.
(solib_bfd_fopen): Use unique_xmalloc_ptr.
gdb/ChangeLog
gdb/solib.c