config/parser: fix invalid ptr after move

This commit is contained in:
Vaxry 2025-11-12 13:51:28 +00:00
parent 995db114b8
commit 771e915f59
Signed by: vaxry
GPG key ID: 665806380871D640

View file

@ -796,6 +796,7 @@ CParseResult CConfig::parseLine(std::string line, bool dynamic) {
auto [f, rv] = configSetValueSafe(LHS, RHS); auto [f, rv] = configSetValueSafe(LHS, RHS);
found = f; found = f;
ret = std::move(rv); ret = std::move(rv);
ret.errorString = ret.errorStdString.c_str();
} }
if (!found) { if (!found) {