From: kwolekr Date: Fri, 12 Dec 2014 19:39:36 +0000 (-0500) Subject: Settings: Fix invalid memory access when setting not found in working mem X-Git-Tag: 0.4.11~48 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=8066743a8390b22cf515aaced0280ddb64b69cb1;p=oweals%2Fminetest.git Settings: Fix invalid memory access when setting not found in working mem --- diff --git a/src/settings.cpp b/src/settings.cpp index a8b15b6c2..2f515caba 100644 --- a/src/settings.cpp +++ b/src/settings.cpp @@ -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";