Skip to content
Snippets Groups Projects
Commit 8066743a authored by kwolekr's avatar kwolekr
Browse files

Settings: Fix invalid memory access when setting not found in working mem

parent 2c9bbe27
No related branches found
No related tags found
No related merge requests found
......@@ -254,7 +254,6 @@ bool Settings::updateConfigObject(std::istream &is, std::ostream &os,
printEntry(os, name, it->second, tab_depth);
was_modified = true;
} else {
assert(it->second.group == NULL);
os << line << "\n";
if (event == SPE_MULTILINE)
os << value << "\n\"\"\"\n";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment