This commit is contained in:
Mike Nolan 2023-10-04 18:59:18 -05:00
parent 7b3b8f6070
commit 1f49e21785
1 changed files with 2 additions and 2 deletions

View File

@ -37,10 +37,10 @@ int main(int argc, char **argv) {
GRRLIB_Render(); // Render the frame buffer to the TV
}
GRRLIB_Exit(); // Be a good boy, clear the memory allocated by GRRLIB
GRRLIB_FreeTTF(global_data->myFont);
free(global_data);
GRRLIB_Exit(); // Be a good boy, clear the memory allocated by GRRLIB
exit(0); // Use exit() to exit a program, do not use 'return' from main()
}