Remove an xfree from add_path
authorTom Tromey <tom@tromey.com>
Sun, 24 Oct 2021 21:58:24 +0000 (15:58 -0600)
committerTom Tromey <tom@tromey.com>
Tue, 7 Dec 2021 21:20:11 +0000 (14:20 -0700)
commitc0390cb8c10d809d5abf86b190aa6f59f2891b28
tree84a6226f52dada9ce6aefcbf3c33843fc1ff1c42
parent9931e521bf3a057cc2770eb92906c2ae38335c5a
Remove an xfree from add_path

This removes a temporary \0 assignment and an xfree from add_path,
replacing it with a simpler use of std::string.
gdb/source.c