commit | dab863ef408588aba1c396901e3e5070948d2047 | [log] [tgz] |
---|---|---|
author | Tom Tromey <tom@tromey.com> | Fri Jan 14 07:24:18 2022 -0700 |
committer | Tom Tromey <tom@tromey.com> | Tue Jan 18 10:00:00 2022 -0700 |
tree | 9ce96ef1d6d47d125ba54fd3d235f4d41d2eb281 | |
parent | e53c95d40b128a1e794b27ec8b166ae1445356eb [diff] |
Remove a use of xfree in location.c This small cleanup removes a use of xfree from location.c, by switching to unique_xmalloc_ptr. One function is only used in location.c, so it is made static. And, another function is changed to avoid a copy.