From: randy Date: Fri, 29 Sep 2023 03:13:38 +0000 (-0500) Subject: Forgot a test line. I ran asan and valgrind and it looks like they're X-Git-Url: http://git.mcshandy.xyz/gitweb.cgi?a=commitdiff_plain;h=350e75f836bb35dc42906829086a7ff44ad17bc0;p=picker Forgot a test line. I ran asan and valgrind and it looks like they're happy outside of GPU shit that's out of my hands. --- diff --git a/source/main.c b/source/main.c index 20cad9a..7feaca1 100644 --- a/source/main.c +++ b/source/main.c @@ -23,9 +23,7 @@ int init() TTF_Init(); runtime.font = TTF_OpenFont(config_font_path, config_font_size); assert(runtime.font != NULL); - init_renderer(&runtime); - runtime.keep_alive = 1; return 0; @@ -54,15 +52,14 @@ int main(void) } TTF_Quit(); - int32_t refresh_layout(Runtime_Info* runtime); - refresh_layout(NULL); return 0; } void killterm_handler(int signum) { shutdown_renderer(&runtime); + TTF_CloseFont(runtime.font); TTF_Quit(); exit(0); }