My earlier change to source.c ("Remove an xfree from add_path")
introduced a regression. This patch fixes the problem.
more. */
if (prefix)
{
- std::string temp (old, prefix);
- *which_path = concat (temp.c_str (), tinybuf, name, &old[prefix],
+ std::string temp = std::string (old, prefix) + tinybuf + name;
+ *which_path = concat (temp.c_str (), &old[prefix],
(char *) nullptr);
prefix = temp.length ();
}