diff options
author | Tom Tromey <tom@tromey.com> | 2018-08-29 22:42:57 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2018-09-13 16:22:33 -0600 |
commit | db68fbe2f946cb36359c8672548fde198f812c4e (patch) | |
tree | 0109849ea2f49b243c4c14896847c45d69c68b65 /COPYING | |
parent | 74d3fbbb3e35129526392718b63df41be3b0e88b (diff) | |
download | gdb-db68fbe2f946cb36359c8672548fde198f812c4e.zip gdb-db68fbe2f946cb36359c8672548fde198f812c4e.tar.gz gdb-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 'COPYING')
0 files changed, 0 insertions, 0 deletions