mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
Free all the charmaps after parsing
This commit is contained in:
@@ -193,13 +193,6 @@ static void printUsage(void)
|
||||
stderr);
|
||||
}
|
||||
|
||||
// Cleans up what has been done
|
||||
// Mostly here to please tools such as `valgrind` so actual errors can be seen
|
||||
static void cleanup(void)
|
||||
{
|
||||
obj_Cleanup();
|
||||
}
|
||||
|
||||
enum ScrambledRegion {
|
||||
SCRAMBLE_ROMX,
|
||||
SCRAMBLE_SRAM,
|
||||
@@ -465,5 +458,6 @@ int main(int argc, char *argv[])
|
||||
out_WriteFiles();
|
||||
|
||||
// Do cleanup before quitting, though.
|
||||
cleanup();
|
||||
// Mostly here to please tools such as `valgrind` so actual errors can be seen
|
||||
obj_Cleanup();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user