Use unique_xmalloc_ptr in fixup_go_packaging
authorTom Tromey <tromey@adacore.com>
Thu, 31 Oct 2019 16:34:40 +0000 (10:34 -0600)
committerTom Tromey <tromey@adacore.com>
Wed, 8 Jan 2020 18:17:18 +0000 (11:17 -0700)
commit421d1616230a78449dc2f5abb60f03d38b96c3cf
treed772378669c047cf650d85849f9f4b95a1b3d987
parent43816ebc335481c99808c4fdfffb9ea3f510b19a
Use unique_xmalloc_ptr in fixup_go_packaging

This changes fixup_go_packaging to use unique_xmalloc_ptr.  I kept
this patch separate as it is slightly more complicated than the
previous changes.

gdb/ChangeLog
2020-01-08  Tom Tromey  <tromey@adacore.com>

* dwarf2read.c (fixup_go_packaging): Use unique_xmalloc_ptr.

Change-Id: I0c553d0c6579db478c27bc40fc21133a61e1a4d9
gdb/ChangeLog
gdb/dwarf2read.c