Use unique_xmalloc_ptr in find_separate_debug_file_by_debuglink
authorTom Tromey <tom@tromey.com>
Wed, 25 Oct 2017 21:52:23 +0000 (15:52 -0600)
committerTom Tromey <tom@tromey.com>
Sat, 4 Nov 2017 16:27:16 +0000 (10:27 -0600)
commit5eae7aeaf754549d3645a0c590c5ef9f0134a32d
tree1f30c59b4d8d6393c21c648ab63ea3165227d17e
parentc6bcad5ffc9b4021253487e46a8754e5804135cf
Use unique_xmalloc_ptr in find_separate_debug_file_by_debuglink

This changes find_separate_debug_file_by_debuglink to use
unique_xmalloc_ptr, removing some cleanups.

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

* symfile.c (find_separate_debug_file_by_debuglink): Use
unique_xmalloc_ptr.
gdb/ChangeLog
gdb/symfile.c