Use unique_xmalloc_ptr in darwin_current_sos
authorTom Tromey <tom@tromey.com>
Sun, 27 May 2018 15:31:26 +0000 (09:31 -0600)
committerTom Tromey <tom@tromey.com>
Mon, 18 Jun 2018 19:26:32 +0000 (13:26 -0600)
commit668eb2f045ea535976cf484355831a8808b5ff35
tree21ffd343038c1d86f25be92c5286c25975f6e782
parent309822ca289d602b9f9baf4760329ddd08b1d204
Use unique_xmalloc_ptr in darwin_current_sos

This changes darwin_current_sos to use unique_xmalloc_ptr rather than
a cleanup.

gdb/ChangeLog
2018-06-18  Tom Tromey  <tom@tromey.com>

* solib-darwin.c (darwin_current_sos): Use unique_xmalloc_ptr.
gdb/ChangeLog
gdb/solib-darwin.c