Use unique_xmalloc_ptr in bp_location
authorTom Tromey <tom@tromey.com>
Sat, 2 Oct 2021 22:58:49 +0000 (16:58 -0600)
committerTom Tromey <tom@tromey.com>
Wed, 20 Oct 2021 17:00:32 +0000 (11:00 -0600)
commit23d6ee640578968b0ddef8e08d7dbb5b558a9ce9
tree311ff756d63d5ec56408f96a4f707f2f538857cf
parenta4c50be3d68b4f857fee29a45f799755a6862c22
Use unique_xmalloc_ptr in bp_location

This changes struct bp_location to use a unique_xmalloc_ptr, removing
a bit of manual memory management.
gdb/breakpoint.c
gdb/breakpoint.h