diff options
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); } |