Free inthash tables used by the CON compiler using the contents of inttables[] instead of listing them explicitly in C_Compile()

git-svn-id: https://svn.eduke32.com/eduke32@7371 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2019-03-02 23:21:41 +00:00
parent e84d62416d
commit 6a251fca16

View file

@ -6300,12 +6300,8 @@ void C_Compile(const char *fileName)
for (auto i : tables_free)
hash_free(i);
inthash_free(&h_varvar);
inthash_free(&h_globalvar);
#ifdef INCOMPLETE_STRUCT_ACCESS
inthash_free(&h_playervar);
inthash_free(&h_actorvar);
#endif
for (auto i : inttables)
inthash_free(i);
freehashnames();
freesoundhashnames();