aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/python.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2018-08-29 22:42:57 -0600
committerTom Tromey <tom@tromey.com>2018-09-13 16:22:33 -0600
commitdb68fbe2f946cb36359c8672548fde198f812c4e (patch)
tree0109849ea2f49b243c4c14896847c45d69c68b65 /gdb/python/python.c
parent74d3fbbb3e35129526392718b63df41be3b0e88b (diff)
downloadbinutils-db68fbe2f946cb36359c8672548fde198f812c4e.zip
binutils-db68fbe2f946cb36359c8672548fde198f812c4e.tar.gz
binutils-db68fbe2f946cb36359c8672548fde198f812c4e.tar.bz2
Remove cleanup from add_path
This removes a cleanup from add_path, replacing it with a use of gdb::unique_xmalloc_ptr. Note that this declaration had to be hoisted somewhat, to avoid inteference from the "goto"s in this function. gdb/ChangeLog 2018-09-13 Tom Tromey <tom@tromey.com> * source.c (add_path): Use gdb::unique_xmalloc_ptr.
Diffstat (limited to 'gdb/python/python.c')
0 files changed, 0 insertions, 0 deletions