diff options
| author | Sam Anthony <sam@samanthony.xyz> | 2025-02-23 22:12:26 -0500 |
|---|---|---|
| committer | Sam Anthony <sam@samanthony.xyz> | 2025-02-23 22:12:26 -0500 |
| commit | edfe8f1452115a94b2371daf7c150f7a6ac2a2f0 (patch) | |
| tree | 08ccc09f7f4dd4d1b26dd91ad8bf7f22a1aa78c0 /renderer.c | |
| parent | 093cb6f9acb50e5b385e596861c549a9415ca741 (diff) | |
| download | volute-edfe8f1452115a94b2371daf7c150f7a6ac2a2f0.zip | |
free font on exit
Diffstat (limited to 'renderer.c')
| -rw-r--r-- | renderer.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -121,6 +121,8 @@ static void handle_event(SDL_Event e, mu_Context *ctx) { switch (e.type) { case SDL_QUIT: { + TTF_CloseFont(ctx->style->font); + TTF_Quit(); SDL_Quit(); exit(EXIT_SUCCESS); } |