commit | abb6af934c54e386c2bca8d725a496f239a9bac2 | [log] [tgz] |
---|---|---|
author | Tom Tromey <tom@tromey.com> | Mon Oct 25 18:20:24 2021 -0600 |
committer | Tom Tromey <tom@tromey.com> | Sun Dec 12 10:56:38 2021 -0700 |
tree | a3e838775742acfc3ebc044c7aec6018f8370943 | |
parent | 2749ac133972d027fe9482acc81f6e88c4f36812 [diff] |
C++-ify path substitution code I found some uses of xfree in the path substitution code in source.c. C++-ifying struct substitute_path_rule both simplifies the code and removes manual memory management. Regression tested on x86-64 Fedora 34.