From 118404d46165f92d74ac2ee47eddfa4e8fa3c87f Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Sun, 13 Aug 2023 23:28:13 -0700 Subject: sdl_fb: plug title leak trivial fix of a trivial leak on teardown --- src/sdl_fb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sdl_fb.c b/src/sdl_fb.c index 16609f8..69d50c4 100644 --- a/src/sdl_fb.c +++ b/src/sdl_fb.c @@ -120,7 +120,7 @@ static void sdl_fb_shutdown(til_fb_t *fb, void *context) SDL_FreeSurface(p->surface); free(p); } - + free((void *)c->title); SDL_Quit(); free(c); } -- cgit v1.2.3