Use gdb::unique_xmalloc_ptr in auto_load_section_scripts
authorTom Tromey <tom@tromey.com>
Thu, 8 Feb 2018 19:08:58 +0000 (12:08 -0700)
committerTom Tromey <tom@tromey.com>
Fri, 9 Feb 2018 12:53:22 +0000 (05:53 -0700)
commit869e8290ea62f594d2472476303bb74604e9326b
treecb35128713a4493b33840ad0bea8ca6275a702e1
parenta37a2ae7080898244de86d136961de81fe28a434
Use gdb::unique_xmalloc_ptr in auto_load_section_scripts

This changes auto_load_section_scripts to use gdb::unique_xmalloc_ptr,
allowing the removal of a cleanup.

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

* auto-load.c (auto_load_section_scripts): Use
gdb::unique_xmalloc_ptr.
gdb/ChangeLog
gdb/auto-load.c