Use unique_xmalloc_ptr in build_id_to_debug_bfd
authorTom Tromey <tom@tromey.com>
Tue, 6 Feb 2018 19:54:44 +0000 (12:54 -0700)
committerTom Tromey <tom@tromey.com>
Thu, 8 Feb 2018 18:46:57 +0000 (11:46 -0700)
commit58ef3771fbbdf7fd891fceefdd4bf2720c6c1ee7
tree8302b4731290b3420523bf45bd8b50d8b6b4e279
parenta9abc4345150a3f3e30da78f8d68c1f9e0198772
Use unique_xmalloc_ptr in build_id_to_debug_bfd

This changes build_id_to_debug_bfd to use a unique_xmalloc_ptr,
removing a cleanup.

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

* build-id.c (build_id_to_debug_bfd): Use unique_xmalloc_ptr.
gdb/ChangeLog
gdb/build-id.c