mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-21 02:32:06 +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