mirror of
https://github.com/ZDoom/Raze.git
synced 2025-03-13 20:42:11 +00:00
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:
parent
e84d62416d
commit
6a251fca16
1 changed files with 2 additions and 6 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue