]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Use unique_xmalloc_ptr in explicit_location_spec
authorTom Tromey <tom@tromey.com>
Sun, 10 Dec 2023 14:45:24 +0000 (07:45 -0700)
committerTom Tromey <tom@tromey.com>
Wed, 13 Dec 2023 21:12:52 +0000 (14:12 -0700)
commitfde841947e445a98f22a04465daa75a9fb6af051
treef95774d5b6c4e560ee50c593ffd3241f8e0519bc
parente7cdec6605837a5b79442fc06bd66d6372025040
Use unique_xmalloc_ptr in explicit_location_spec

This changes explicit_location_spec to use unique_xmalloc_ptr,
removing some manual memory management.

Reviewed-By: John Baldwin <jhb@FreeBSD.org>
gdb/breakpoint.c
gdb/completer.c
gdb/linespec.c
gdb/location.c
gdb/location.h
gdb/mi/mi-cmd-break.c
gdb/python/py-breakpoint.c