From 1f49e2178589a41ed0d29b2623d8cb5d5df1c7e1 Mon Sep 17 00:00:00 2001 From: Mike Nolan Date: Wed, 4 Oct 2023 18:59:18 -0500 Subject: [PATCH] Testing --- src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 010b81c..9a33ea9 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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() } \ No newline at end of file