diff --git a/lib/VCMI_Lib.cpp b/lib/VCMI_Lib.cpp index 04c1507fa..647ddce44 100644 --- a/lib/VCMI_Lib.cpp +++ b/lib/VCMI_Lib.cpp @@ -246,7 +246,6 @@ void LibClasses::init(bool onlyEssential) void LibClasses::clear() { - delete generaltexth; delete heroh; delete arth; delete creh; @@ -263,6 +262,7 @@ void LibClasses::clear() delete scriptHandler; #endif delete battlefieldsHandler; + delete generaltexth; makeNull(); }