Script: Fix memory corruption caused by 6560518

This commit is contained in:
Birunthan Mohanathas 2013-08-06 21:58:41 +03:00
parent 6560518037
commit f8c386793a

View File

@ -161,10 +161,13 @@ void MeasureScript::ReadOptions(ConfigParser& parser, const WCHAR* section)
}
}
}
// Pop PROPERTIES table.
lua_pop(L, 1);
}
// Pop PROPERTIES table and our table
lua_pop(L, 2);
// Pop our table.
lua_pop(L, 1);
if (m_Initialized)
{