mirror of
https://github.com/gbdev/rgbds.git
synced 2026-01-22 16:31:51 +00:00
Free all the charmaps after parsing
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user