Free all the charmaps after parsing

This commit is contained in:
Rangi42
2024-02-19 09:00:15 -05:00
parent 464000bca8
commit ee59f17ea1
4 changed files with 19 additions and 8 deletions

View File

@@ -412,6 +412,9 @@ int main(int argc, char *argv[])
if (yyparse() != 0 && nbErrors == 0)
nbErrors = 1;
// Free all charmaps (they're not needed after parsing)
charmap_Cleanup();
if (dependfile)
fclose(dependfile);
free(targetFileName);